Called by the framework to draw a button.
virtual void OnDraw( CDC* pDC, const CRect& rect, 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 a button.