Click here to Skip to main content
12,630,420 members (29,799 online)
Click here to Skip to main content

Stats

313.6K views
11.2K downloads
135 bookmarked
Posted

Reusable base class for SplitterWnd

, 2 Sep 2001 CPOL
A class derived from CSplitterWnd which makes splitting and switching of views simple.
// SplitterWndTest.h : main header file for the SPLITTERWNDTEST application
//

#if !defined(AFX_SPLITTERWNDTEST_H__362A199F_79F5_44BD_9B61_E676C349CCB6__INCLUDED_)
#define AFX_SPLITTERWNDTEST_H__362A199F_79F5_44BD_9B61_E676C349CCB6__INCLUDED_

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

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"       // main symbols

/////////////////////////////////////////////////////////////////////////////
// CSplitterWndTestApp:
// See SplitterWndTest.cpp for the implementation of this class
//

class CSplitterWndTestApp : public CWinApp
{
public:
	CSplitterWndTestApp();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSplitterWndTestApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation
	//{{AFX_MSG(CSplitterWndTestApp)
	afx_msg void OnAppAbout();
		// 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_SPLITTERWNDTEST_H__362A199F_79F5_44BD_9B61_E676C349CCB6__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

You may also be interested in...

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