void CBCGPProp::SetSwitchLabels | ( | LPCTSTR | lpszOn, |
LPCTSTR | lpszOff | ||
) |
Sets text labels for the switch-style Boolean property.
lpszOn | Text label for TRUE value. Can be NULL. |
lpszOff | Text 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.