BCGControlBar Pro for MFC
BOOL CBCGPPropList::DeleteProperty ( CBCGPProp *&  pProp,
BOOL  bRedraw = TRUE,
BOOL  bAdjustLayout = TRUE 
)

Deletes the specified property from the property list.

Returns
Nonzero if the specified property was deleted successfully.

Use this method to delete properties from the property list at runtime. If a property has sub-items, the property is deleted with its sub-items.

Parameters
pPropA pointer to a property to delete.
bRedrawIf TRUE, the property list will be redrawn.
bAdjustLayoutIf TRUE, the layout of property list will be recalculated.