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; 

Parameters

lParam

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

Return value

Returns TRUE to allow the button to be deleted, or FALSE to prevent the button from being deleted.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Show: