共用方式為


CMFCVisualManager::OnDrawSplitterBorder

The framework calls this method when it draws the border around an instance of the CSplitterWndEx Class.

virtual void OnDrawSplitterBorder(
   CDC* pDC,
   CSplitterWndEx* pSplitterWnd,
   CRect rect
);

Parameters

  • [in] pDC
    A pointer to a device context.

  • [in] pSplitterWnd
    A pointer to a splitter window. The framework draws the border for this window.

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

Remarks

Override this method in a derived visual manager to customize the appearance of the border for a splitter window.

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart

CSplitterWndEx Class