Freigeben über


CMFCToolBarsCustomizeDialog::OnBeforeChangeTool

Performs custom processing when a change to a user tool when the user is about to apply a change.

virtual void OnBeforeChangeTool(
   CUserTool* pSelTool 
);

Parameters

  • [in, out] pSelTool
    A pointer to the user tool object that is about to be replaced.

Remarks

This method is called by the framework when the properties of a user-defined tool is about to change. The default implementation does nothing. Override the OnBeforeChangeTool method in a class derived from CMFCToolBarsCustomizeDialog Class if you want to perform processing before a change to a user tool occurs, such as releasing resources that pSelTool uses.

Requirements

Header: afxToolBarsCustomizeDialog.h

See Also

Reference

CMFCToolBarsCustomizeDialog Class

Hierarchy Chart