BCGControlBar Pro for MFC
BOOL CBCGPPropList::EnableProperty ( UINT  nID,
BOOL  bEnable = TRUE,
BOOL  bIncludeSubItems = FALSE 
)

Enables or disables a property.

Call this method to enable or disable a particular property.

Parameters
nIDSpecifies property ID.
bEnableTRUE - enable property; FALSE - disable property.
bIncludeSubItemsTRUE - enable/disable property sub-items (recursively).