Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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_NOTIFYmessage.

Syntax

TBN_DRAGOUT

lpnmtb = (LPNMTOOLBAR) 
lParam;

Parameters

lpnmtb

Long pointer to an NMTOOLBARstructure that contains information about this notification. For this message, only the hdrand iItemmembers are valid. The iItemmember 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
Windows Embedded CE Windows CE .NET 4.2 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also