共用方式為


CMFCVisualManagerOffice2003::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
    TRUE if the pane is docked horizontally, or FALSE if 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: afxvisualmanageroffice2003.h

See Also

Reference

CMFCVisualManagerOffice2003 Class

Hierarchy Chart