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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft