BCGControlBar Pro for MFC
CBCGPProp* CBCGPPropList::FindItemByID ( UINT  nID,
BOOL  bSearchSubItems = TRUE 
) const

Finds a property by ID.

Call this method to find a property by ID. This method returns a pointer to a valid property or NULL if the specified by nID property is not found.

Parameters
nIDSpecifies property ID.
bSearchSubItemsTRUE - search sub items; FALSE - search top-level items only.