CSplitterWndEx Class
Represents a customized splitter window.
class CSplitterWndEx : public CSplitterWnd
Name | Description |
|---|---|
CSplitterWndEx::CSplitterWndEx | Default constructor. |
CSplitterWndEx::~CSplitterWndEx | Destructor. |
Name | Description |
|---|---|
Called by the framework to draw a splitter window. (Overrides CSplitterWnd::OnDrawSplitter.) |
Override the OnDrawSplitter method to customize the appearance of the graphical components of a splitter window.
The CSplitterWndEx class is used together with the CMFCVisualManager::OnDrawSplitterBorder, CMFCVisualManager::OnDrawSplitterBox, and CMFCVisualManager::OnFillSplitterBackground methods, which are implemented by a visual manager. To cause a visual manager to draw a splitter window in your application, replace declarations of the CSplitterWnd class with the CSplitterWndEx class. For frame window applications, the splitter window class is declared in the CMainFrame class that is located in mainfrm.h. For an example, see the OutlookDemo sample in the Samples directory.
Requirements
Header: afxsplitterwndex.h