BCGSuite for MFC
void CBCGPSwitchImpl::SetLabel ( const CString &  strLabel,
BOOL  bOn,
BOOL  bRedraw = FALSE 
)
inline

Sets a custom text label for specific switch state.

Parameters
strLabelThe text label.
bOnTRUE - modifies a custom text label of the "On" state, FALSE - "Off" state.
bRedrawSpecifies whether a control should be redrawn.