TBN_QUERYDELETE  VOAGRJ 

The TBN_QUERYDELETE notification message notifies the toolbar s parent window whether a button may be deleted from a toolbar while the user is customizing a toolbar. This message is sent in the form of a WM_NOTIFY1MZT7BR message.

TBN_QUERYDELETE

ptbn = (TBNOTIFY FAR *) lParam;

 

Parameters

ptbn

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

 

Return Values

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

See Also

TBNOTIFY, WM_NOTIFY