Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version
Go to top

Reusable base class for SplitterWnd

, 2 Sep 2001
A class derived from CSplitterWnd which makes splitting and switching of views simple.
#if !defined(AFX_SPLITTERWNDTESTVIEW4_H__34530DDC_D294_488E_AEC4_484C11808C96__INCLUDED_)
#define AFX_SPLITTERWNDTESTVIEW4_H__34530DDC_D294_488E_AEC4_484C11808C96__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SplitterWndTestView4.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CSplitterWndTestView4 view

class CSplitterWndTestView4 : public CView
{
protected:
	CSplitterWndTestView4();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CSplitterWndTestView4)

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSplitterWndTestView4)
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	//}}AFX_VIRTUAL

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

	// Generated message map functions
protected:
	//{{AFX_MSG(CSplitterWndTestView4)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_SPLITTERWNDTESTVIEW4_H__34530DDC_D294_488E_AEC4_484C11808C96__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.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Daniel Zuppinger
Chief Technology Officer
Switzerland Switzerland
Professional IT developer since 1983. First projects with Cobol, then Pascal, Modula2, C and since Visual C++ 1.0 also with C++. Works since 1986 as Consultant, between 1990 and 2008 for Infobrain in Switzerland, currently employed by enValue (also Switzerland).
Current field is the project management and development of software for Bank applications.
Married, two daughters, Hobbies : Paragliding, Orienteering, Mountainbiking, Photography

| Advertise | Privacy | Mobile
Web02 | 2.8.140926.1 | Last Updated 3 Sep 2001
Article Copyright 2001 by Daniel Zuppinger
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid