Click here to Skip to main content
15,896,557 members
Articles / Desktop Programming / WTL

MFC Docking Framework

Rate me:
Please Sign up or sign in to vote.
4.37/5 (20 votes)
12 Oct 2007CPOL3 min read 123.4K   5.3K   84  
An easy to use MFC Docking framework and more... It also shows an applicable method to mix up WTL and MFC.
// TabbedMDI_Demo.h : main header file for the MDITABS_DEMO application
//

#if !defined(AFX_MDITABS_DEMO_H__0CBC9584_BA85_11D5_AF21_DF3E023ED24F__INCLUDED_)
#define AFX_MDITABS_DEMO_H__0CBC9584_BA85_11D5_AF21_DF3E023ED24F__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

/////////////////////////////////////////////////////////////////////////////
// CMDIDemoApp:
// See TabbedMDI_Demo.cpp for the implementation of this class
//

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

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

// Implementation
	//{{AFX_MSG(CMDIDemoApp)
	afx_msg void OnAppAbout();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#endif // !defined(AFX_MDITABS_DEMO_H__0CBC9584_BA85_11D5_AF21_DF3E023ED24F__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)


Written By
Global Cybersoft (Vietnam)
Vietnam Vietnam
Quynh Nguyen is a Vietnamese who has worked for 7 years in Software Outsourcing area. Currently, he works for Global Cybersoft (Vietnam) Ltd. as a Project Manager in Factory Automation division.

In the first day learning C language in university, he had soon switched to Assembly language because he was not able to understand why people cannot get address of a constant as with a variable. With that stupid starting, he had spent a lot of his time with Assembly language during the time he was in university.

Now he is interesting in Software Development Process, Software Architecture and Design Pattern… He especially indulges in highly concurrent software.

Comments and Discussions