Share via


CMFCToolBar::OnChangeHot

Called by the framework when a user selects a button on the toolbar.

virtual void OnChangeHot(
   int iHot 
);

Parameters

  • [in] iHot
    Specifies the index of the toolbar button that is selected; or -1 if no toolbar button is selected.

Remarks

Override this method to process notifications that the user selected a button on a toolbar.

Requirements

Header: afxtoolbar.h

See Also

Reference

CMFCToolBar Class

Hierarchy Chart