BCGControlBar Pro for MFC
CBCGPProp* CBCGPPropList::FindItemByData ( DWORD_PTR  dwData,
BOOL  bSearchSubItems = TRUE 
) const

Returns a property according to the used-defined DWORD value associated with the property.

Returns
A pointer to the list property object if the function succeeds; otherwise NULL.

Call this function to find a property according to the user-defined DWORD value associated with the property. You can specify a DWORD value when constructing a property object or later using CBCGPProp::SetData.

Parameters
dwDataSpecifies a DWORD value to look for.
bSearchSubItemsSpecifies whether to search sub-properties or not.