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 draw the focus rectangle for a button.
virtual void OnDrawFocusRect(
CDC* pDC,
const CRect& rectClient
);
Parameters
[in] pDC
A pointer to a device context.[in] rectClient
A reference to a rectangle that bounds the button.
Remarks
Override this method to use your own code to draw the focus rectangle.
Requirements
Header: afxbutton.h