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 display the border of the button.
virtual void OnDrawBorder(
   CDC* pDC,
   CRect& rectClient,
   UINT uiState 
);
Parameters
- [in] pDC 
 Points to the device context used to draw the border.
- [in] rectClient 
 A rectangle in the device context that is specified by the the pDC parameter that defines the boundaries of the button to be drawn.
- [in] uiState 
 Specifies the visual state of the button.
Remarks
Override this function to customize the color button's border appearance.
Requirements
Header: afxcolorbutton.h