BN_DOUBLECLICKED notification code

Sent when the user double-clicks a button. This notification code is sent automatically for BS_USERBUTTON, BS_RADIOBUTTON, and BS_OWNERDRAW buttons. Other button types send BN_DOUBLECLICKED only if they have the BS_NOTIFY style.

The parent window of the button receives this notification code through the WM_COMMAND message.

BN_DOUBLECLICKED

    WPARAM wParam;
    LPARAM lParam;

Parameters

wParam

The LOWORD contains the button's control identifier. The HIWORD specifies the notification code.

lParam

A handle to the button.

Remarks

BN_DOUBLECLICKED is the same as the BN_DBLCLK notification code.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Winuser.h (include Windows.h)