Condividi tramite


CSplitterWndEx Class

Represents a customized splitter window.

class CSplitterWndEx : public CSplitterWnd

Members

Public Constructors

Name

Description

CSplitterWndEx::CSplitterWndEx

Default constructor.

CSplitterWndEx::~CSplitterWndEx

Destructor.

Public Methods

Name

Description

CSplitterWndEx::OnDrawSplitter

Called by the framework to draw a splitter window. (Overrides CSplitterWnd::OnDrawSplitter.)

Remarks

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.

Inheritance Hierarchy

CObject

   CCmdTarget

      CWnd

         CSplitterWnd

            CSplitterWndEx

Requirements

Header: afxsplitterwndex.h

See Also

Reference

Hierarchy Chart

CSplitterWnd Class

CMFCVisualManager Class

Other Resources

MFC Classes