Share via


CMFCColorButton::OnDrawBorder

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

See Also

Reference

CMFCColorButton Class

Hierarchy Chart