Click here to Skip to main content
15,897,273 members
Articles / Desktop Programming / MFC

Splitter Window Tutorial

Rate me:
Please Sign up or sign in to vote.
4.43/5 (78 votes)
13 Jan 20034 min read 348.5K   12.4K   89  
Implementing CSplitterWnd controls in MFC SDI applications
// SplitterWindowTutorialDoc.h : interface of the CSplitterWindowTutorialDoc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_SPLITTERWINDOWTUTORIALDOC_H__461E3741_08D6_4309_9EE9_B33BB479259B__INCLUDED_)
#define AFX_SPLITTERWINDOWTUTORIALDOC_H__461E3741_08D6_4309_9EE9_B33BB479259B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CSplitterWindowTutorialDoc : public CDocument
{
protected: // create from serialization only
	CSplitterWindowTutorialDoc();
	DECLARE_DYNCREATE(CSplitterWindowTutorialDoc)

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSplitterWindowTutorialDoc)
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CSplitterWindowTutorialDoc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CSplitterWindowTutorialDoc)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SPLITTERWINDOWTUTORIALDOC_H__461E3741_08D6_4309_9EE9_B33BB479259B__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


Written By
Web Developer
United Kingdom United Kingdom
I am a software developer in the United Kingdom with 4 years experience programming in various languages including C++ and Java. I have an interested in coding theory, graphics programming, computer games, software security and cryptography.

Comments and Discussions