BCGControlBar Pro for MFC
void CBCGPProp::SetSwitchLabels ( LPCTSTR  lpszOn,
LPCTSTR  lpszOff 
)

Sets text labels for the switch-style Boolean property.

Parameters
lpszOnText label for TRUE value. Can be NULL.
lpszOffText label for FALSE value. Can be NULL.

Call this method to specify text labels for the switch-style Boolean property. Call SetBooleanPropertiesStyle() with style = CBCGPPropList::BOOL_PROPS_SWITCH to enable switch-style boolean properties.