Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic


Retrieves the ribbon element associated with the specified command ID.

CMFCRibbonBaseElement* FindByID(
   UINT uiCmdID,
   BOOL bVisibleOnly = TRUE
) const;
[in] uiCmdID

Command ID associated with a ribbon element.

[in] bVisibleOnly

TRUE to include quick access ribbon elements in the search; FALSE to exclude quick access ribbon elements in the search.

Pointer to a ribbon element if the method was successful; otherwise NULL.

Header: afxribboncategory.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.