TBN_QUERYDELETE notification code
Notifies the toolbar's parent window whether a button may be deleted from a toolbar while the user is customizing the toolbar. This notification code is sent in the form of a WM_NOTIFY message.
TBN_QUERYDELETE lpnmtb = (LPNMTOOLBAR) lParam;
Pointer to an NMTOOLBAR structure. The iItem member contains the zero-based index of the button to be deleted.
Returns TRUE to allow the button to be deleted, or FALSE to prevent the button from being deleted.
|Minimum supported client
||Windows Vista [desktop apps only]
|Minimum supported server
||Windows Server 2003 [desktop apps only]