CMFCButton::OnDrawFocusRect
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