共用方式為


CMFCRibbonButton::OnClick

Called by the framework when the user clicks the button.

virtual void OnClick(
   CPoint point 
);

Parameters

  • [in] point
    Specifies the position of the mouse click.

Remarks

Override this method in a derived class if you want to handle this event.

Requirements

Header: afxribbonbutton.h

See Also

Reference

CMFCRibbonButton Class

Hierarchy Chart