CMFCVisualManager::OnDrawSeparator

The framework calls this method when it draws a separator.

virtual void OnDrawSeparator(
   CDC* pDC,
   CBasePane* pBar,
   CRect rect,
   BOOL bIsHoriz
);

Parameters

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

  • [in] pBar
    A pointer to a pane that contains the separator.

  • [in] rect
    A rectangle that specifies the boundaries of the separator.

  • [in] bIsHoriz
    A Boolean parameter that indicates the orientation of a docked pane. A value of TRUE indicates that the pane is docked horizontally. A value of FALSE indicates that the pane is docked vertically.

Remarks

Separators are used on control bars to separate groups of related icons. The default implementation for this method displays the standard separator. Override this method in a derived visual manager to customize the appearance of the separator.

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart