void CBCGPSwitchImpl::SetOn | ( | BOOL | bSet = TRUE , |
BOOL | bRedraw = FALSE , |
||
BOOL | bAnimation = FALSE |
||
) |
Modifies the switch's state.
bSet | TRUE - "On" (checked), FALSE - "Off" (unchecked). |
bRedraw | Specifies whether a control should be redrawn. |
bAnimation | Specifies whether a thumb should be moved to a new postion with transition effect. |