BCGControlBar Pro for MFC
int CBCGPPropList::AddProperty ( CBCGPProp pProp,
BOOL  bRedraw = TRUE,
BOOL  bAdjustLayout = TRUE 

Adds a new property to a property list control.

A property index in the list if the function succeeds; -1 if the function fails.

Call this function to add a new property to the property list at the end of the list. The function fails if the same property has been already added to the list.

pPropPoints to a property to be added.
bRedrawSpecifies whether the property list should be redrawn upon add.
bAdjustLayoutIf TRUE, the layout of property list will be recalculated immediately. If FALSE, you'll need to call AdjustLayout() later.