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 render an image of the button.
virtual void OnDraw(
CDC* pDC,
const CRect& rect,
UINT uiState
);
Parameters
[in] pDC
Points to the device context that is used to render the image of the button.[in] rect
A rectangle that bounds the button.[in] uiState
Specifies the visual state of the button.
Remarks
Override this method to customize the rendering process.
Requirements
Header: afxcolorbutton.h