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