BCGControlBar Pro for MFC
void CBCGPSwitchImpl::SetFocusRect ( BOOL  bSet = TRUE,
BOOL  bRedraw = FALSE 
)
inline

Specifies whether the focus rectangle should be drawn.

Parameters
bSetTRUE to draw the focus rectangle.
bRedrawSpecifies whether a control should be redrawn.

The custom rectangle will be drawn only if switch was created as separate control (CBCGPSwitchCtrl).