Muokkaa

Jaa


NM_LDOWN (toolbar) notification code

Notifies a toolbar's parent window that the left mouse button has been pressed. This notification code is sent in the form of a WM_NOTIFY message.

NM_LDOWN

    lpnmmouse = (LPNMMOUSE) lParam; 

Parameters

lParam

Pointer to an NMMOUSE structure that contains information about this notification code. If the mouse was clicked on a toolbar item, the dwItemSpec member contains the item identifier and the dwItemData member contains the item data. If the mouse was clicked on a separator or white space in the toolbar, the dwItemSpec member will contain -1.

Return value

Returns FALSE to allow the toolbar control to perform default processing of the event, or TRUE to prevent the control from processing the event.

Remarks

This notification is sent after the TBN_DROPDOWN notification code has been sent.

Requirements

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