Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called by the framework to display a focus rectangle when the button has focus.
virtual void OnDrawFocusRect(
CDC* pDC,
const CRect& rectClient
);
Parameters
[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.
Remarks
Override this method to customize appearance of the focus rectangle.
Requirements
Header: afxcolorbutton.h