CMFCVisualManager::OnDrawPaneBorder

The framework calls this method when it draws the border of a CPane Class object.

virtual void OnDrawPaneBorder(
   CDC* pDC,
   CBasePane* pBar,
   CRect& rect
);

Parameters

  • [in] pDC
    A pointer to the device context of a control bar.

  • [in] pBar
    A pointer to a pane. The visual manager draws the border of this pane.

  • [in] rect
    A rectangle that indicates the boundaries of the pane.

Remarks

The default implementation of this method displays the standard border. Override this method in a derived class to customize the appearance of the border.

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart