Compartilhar via


COleDocument::OnUpdateEditChangeIcon

Called by the framework to update the Change Icon command on the Edit menu.

afx_msg void OnUpdateEditChangeIcon(
   CCmdUI* pCmdUI 
);

Parameters

  • pCmdUI
    A pointer to a CCmdUI structure that represents the menu that generated the update command. The update handler calls the Enable member function of the CCmdUI structure through pCmdUI to update the user interface.

Remarks

OnUpdateEditChangeIcon updates the command's user interface depending on whether or not a valid icon exists in the document. Override this function to change the behavior.

Requirements

Header: afxole.h

See Also

Reference

COleDocument Class

Hierarchy Chart

COleDocument::OnEditChangeIcon

CCmdUI Class

Other Resources

COleDocument Members