Export (0) Print
Expand All

CMFCColorButton::OnDrawFocusRect

Called by the framework to display a focus rectangle when the button has focus.

virtual void OnDrawFocusRect(
   CDC* pDC,
   const CRect& rectClient 
);

[in] pDC

Points to the device context used to draw the focus rectangle.

[in] rectClient

A rectangle in the device context specified by the pDC parameter that defines the boundaries of the button.

Override this method to customize appearance of the focus rectangle.

Header: afxcolorbutton.h

Community Additions

ADD
Show:
© 2014 Microsoft