TBN_DRAGOUT notification code

Sent by a toolbar control when the user clicks a button and then moves the cursor off the button. This notification code is sent in the form of a WM_NOTIFY message.

TBN_DRAGOUT

    lpnmtb = (LPNMTOOLBAR) lParam;

Parameters

lParam

Pointer to an NMTOOLBAR structure that contains information about this notification code. For this notification code, only the hdr and iItem members of this structure are valid. The iItem member of this structure contains the command identifier of the button being dragged.

Return value

The return value is ignored.

Remarks

This notification code allows an application to implement drag-and-drop functionality for toolbar buttons. When processing this notification code, the application will begin the drag-and-drop operation.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h