Called by the framework when the associated menu is updated.
afx_msg void OnUpdateControlBarMenu( CCmdUI* pCmdUI);
A pointer to a CCmdUI object representing the menu that generated the update command. The update handler calls the Enable member function of the CCmdUI object through pCmdUI to update the user interface.
CFrameWnd ClassHierarchy Chart