BCGControlBar Pro for MFC
CBCGPBaseRibbonElement* CBCGPRibbonStatusBar::FindByID ( UINT  uiID,
BOOL  bVisibleOnly = TRUE,
BOOL  bIncludeGroups = FALSE 
)
inline

Finds element by ID.

Returns a pointer to element with specified by uiID identifier.

Parameters
uiIDSpecifies ID of element to look for.
bVisibleOnlySpecifies whether search result should exclude the hidden control.
bIncludeGroupsSpecifies whether search should be perfromed inside the status bar controls groups.