Retrieves a pointer to a ribbon element if it has the specified data and visibility.
BOOL bVisibleOnly = TRUE
The data associated with a ribbon element.
to search visible ribbon elements only; FALSE to search all ribbon elements.
A pointer to a ribbon element if it has the specified data and visibility; otherwise NULL.
A ribbon element is any control that you can add to the ribbon, such as a ribbon button, or a ribbon category, or a ribbon slider.