BCGControlBar Pro for MFC
CBCGPProp* CBCGPProp::GetSubItem ( int  nIndex,
BOOL  bSkipHidden = FALSE 
) const

Returns a specific sub-property identified by the zero-based index.

Returns
A pointer to a property object that is a child item of this property or NULL if the specifies index is out of range.

Call this function to retrieve a specific sub-property identified by the zero-based index. The function asserts if the specified index is below 0 or exceeds the number of child sub-properties.

Parameters
nIndexSpecifies the zero-based index of the property to be retrieved.
bSkipHiddenIf this parameter is TRUE, the invisible (hidden) properties are not taken into account, and the method returns the property in the visible items list.