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

A Visual Framework (Views, Tabs and Splitters)

Rate me:
Please Sign up or sign in to vote.
4.96/5 (71 votes)
6 Dec 2002 786.5K   17.9K   301  
Creating SDI/MDI applications with splitter and tab windows
// DummyEdit.cpp : implementation file
//

#include "stdafx.h"
#include "tabwnd.h"
#include "DummyEdit.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDummyEdit

IMPLEMENT_DYNCREATE(CDummyEdit, CEditView)

CDummyEdit::CDummyEdit()
{
}

CDummyEdit::~CDummyEdit()
{
}


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

/////////////////////////////////////////////////////////////////////////////
// CDummyEdit drawing

void CDummyEdit::OnDraw(CDC* pDC)
{
	CDocument* pDoc = GetDocument();
	// TODO: add draw code here
}

/////////////////////////////////////////////////////////////////////////////
// CDummyEdit diagnostics

#ifdef _DEBUG
void CDummyEdit::AssertValid() const
{
	CEditView::AssertValid();
}

void CDummyEdit::Dump(CDumpContext& dc) const
{
	CEditView::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CDummyEdit message handlers

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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer SCA d.o.o.
Serbia Serbia
I am a cofounder of SCA Software, company that specializes in software for process control, visualization and communication. Programming for the last 10 years in C++, Delphi. Visual C++ for the last 6 years. Degree in Electronics Engineering and Telecommunications.

Comments and Discussions