CMFCCustomizeButton::InvokeCommand
Posts the WM_COMMAND message to the owner of the parent toolbar of the Customize button.
virtual BOOL InvokeCommand(
CMFCPopupMenuBar* pMenuBar,
const CMFCToolBarButton* pButton
);
Parameters
Parameter |
Description |
[in] pMenuBar |
The pop-up menu bar that contains the selected toolbar button. |
[in] pButton |
The selected toolbar button. |
Return Value
TRUE if the owner of the parent toolbar of the customize button received the command message; FALSE otherwise.
Remarks
This method is called by the framework to allow customize buttons to respond to command messages.
Requirements
Header: afxcustomizebutton.h