Partager via


CControlBar::DrawBorders

Called by the framework to render the borders of the control bar.

virtual void DrawBorders( 
   CDC* pDC, 
   CRect& rect  
);

Parameters

  • pDC
    Points to the device context to be used for rendering the borders of the control bar.

  • rect
    A CRect object containing the dimensions of the control bar.

Remarks

Override this function to customize the appearance of the control bar borders.

Requirements

Header: afxext.h

See Also

Reference

CControlBar Class

Hierarchy Chart

CControlBar::DoPaint

CControlBar::DrawGripper