Click here to Skip to main content
15,884,537 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.1K   5.3K   84  
An easy to use MFC Docking framework and more... It also shows an applicable method to mix up WTL and MFC.
// FormB.cpp : implementation file
//

#include "stdafx.h"
#include "FormB.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// FormB

IMPLEMENT_DYNCREATE(FormB, CFormView)

FormB::FormB() : CFormView(FormB::IDD)
{
	//{{AFX_DATA_INIT(FormB)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}

FormB::~FormB()
{
}

void FormB::DoDataExchange(CDataExchange* pDX)
{
	CFormView::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(FormB)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(FormB, CFormView)
	//{{AFX_MSG_MAP(FormB)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

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