BCGControlBar Pro for MFC
const CString& CBCGPSwitchImpl::GetLabel ( BOOL  bOn) const
inline

Gets a text label of specified state.

Parameters
bOnTRUE - return a custom text label of the "On" state, FALSE - "Off" state.
Returns
The switch state text label.

Call SetLabel() method to specify a custom text label.