Rediger

Del via


TBN_QUERYINSERT notification code

Notifies the toolbar's parent window whether a button may be inserted to the left of the specified button while the user is customizing a toolbar. This notification code is sent in the form of a WM_NOTIFY message.

TBN_QUERYINSERT 

    lpnmtb = (LPNMTOOLBAR) lParam; 

Parameters

lParam

Pointer to an NMTOOLBAR structure. The iItem member contains the zero-based index of the button to be inserted.

Return value

Return TRUE to allow a button to be inserted in front of the given button, or FALSE to prevent the button from being inserted.

Requirements

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