共用方式為


CMFCVisualManager::OnFillSplitterBackground

The framework calls this method when it fills the background of a splitter window.

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

Parameters

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

  • [in] pSplitterWnd
    A pointer to an instance of the CSplitterWndEx Class. The framework fills the background for this splitter 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 a splitter window.

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart

CSplitterWndEx Class