Share via


CMFCRibbonCategory::OnUpdateCmdUI

Calls the OnUpdateCmdUI member function in each of the CMFCRibbonPanel elements of the CMFCRibbonCategory to enable or disable the user-interface elements in them.

virtual void OnUpdateCmdUI(
   CMFCRibbonCmdUI* pCmdUI,
   CFrameWnd* pTarget,
   BOOL bDisableIfNoHndler
);

Parameters

  • [in] pCmdUI
    Pointer to the CMFCRibbonCmdUI object that specifies which user-interface elements are to be enabled and which are to be disabled.

  • [in] pTarget
    Pointer to the window that controls the enabling or disabling of the user-interface elements.

  • [in] bDisableIfNoHndler
    TRUE to disable the user-interface item if no handler is defined in a message map; otherwise, FALSE.

Requirements

Header: afxribboncategory.h

See Also

Reference

CMFCRibbonCategory Class

Hierarchy Chart