共用方式為


CMFCColorBar::OnSendCommand

Called by the framework to close a hierarchy of pop-up controls.

virtual BOOL OnSendCommand(
   const CMFCToolBarButton* pButton
);

Parameters

Parameter

Description

[in] pButton

Pointer to a control that resides on a toolbar.

Return Value

TRUE if this method is successful; otherwise, FALSE.

Requirements

Header: afxcolorbar.h

See Also

Reference

Hierarchy Chart

CMFCColorBar Class

CMFCToolBarButton Class