int CBCGPPropList::AddProperty | ( | CBCGPProp * | pProp, |
BOOL | bRedraw = TRUE , |
||
BOOL | bAdjustLayout = TRUE |
||
) |
Adds a new property to a property list control.
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.
pProp | Points to a property to be added. |
bRedraw | Specifies whether the property list should be redrawn upon add. |
bAdjustLayout | If TRUE, the layout of property list will be recalculated immediately. If FALSE, you'll need to call AdjustLayout() later. |