PyCWnd.OnCtlColor Virtual

OnCtlColor()

Called for the WM_CTLCOLOR message.

Comments

Setup dc to paint the control pWnd of type nCtlColor.

The default calls OnCtlColor(). If you supply a handler, the default is not called.

See Also

PyCWnd::OnCtlColor

Return Value

Handle of the brush to paint the control's background.