TBN_DELETINGBUTTON message

Sent by a toolbar control when a button is about to be deleted. This notification code is sent in the form of a WM_NOTIFY message.

 TBN_DELETINGBUTTON 

    lpnmtb = (LPNMTOOLBAR) lParam;

Parameters

lParam

Pointer to an NMTOOLBAR structure that contains information about the button being deleted. For this notification code, only the hdr and iItem members of this structure are valid. The iItem member of this structure contains the command identifier of the button being deleted.

Return value

The return value is ignored.

Requirements

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