BCGControlBar Pro for MFC
CBCGPProp* CBCGPProp::GetSubItem ( int  nIndex) 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.