TBN_DRAGOUT (Compact 2013)

3/28/2014

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

Syntax

TBN_DRAGOUT
    lpnmtb = (LPNMTOOLBAR) lParam;

Parameters

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

Return Value

The return value is ignored.

Remarks

This notification enables an application to implement drag-and-drop functionality for toolbar buttons. When processing this notification, the application begins the drag-and-drop operation.

Requirements

Header

commctrl.h

See Also

Reference

Toolbar Controls Notifications
Toolbar Controls Messages