CMFCButton::OnDrawBorder
Called by the framework to draw the border of a button.
virtual void OnDrawBorder(
CDC* pDC,
CRect& rectClient,
UINT uiState
);
Parameters
[in] pDC
A pointer to a device context.[in] rectClient
A reference to a rectangle that bounds the button.[in] uiState
The current button state. For more information, see the itemState member of the DRAWITEMSTRUCT Structure topic.
Remarks
Override this method to use your own code to draw the border.
Requirements
Header: afxbutton.h