CMFCVisualManager::OnDrawSplitterBox

The framework calls this method when it draws the drag box for an instance of the CSplitterWndEx Class. The drag box appears when the user selects the splitter bar and changes the dimensions of the child windows.

virtual void OnDrawSplitterBox(
   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 box 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 the drag box for a splitter window.

Requirements

Header: afxvisualmanager.h

See Also

Reference

CMFCVisualManager Class

Hierarchy Chart

CSplitterWndEx Class