Click here to Skip to main content
13,257,536 members (47,891 online)
Click here to Skip to main content


316 bookmarked
Posted 3 Dec 1999

Layout Manager for Dialogs, Formviews, DialogBars and PropertyPages

, 4 Aug 2000
A framework to provide automatic layout control for dialogs and forms
// LayoutManagerDoc.cpp : Implementierung der Klasse CLayoutManagerDoc

#include "stdafx.h"
#include "LayoutManager.h"

#include "LayoutManagerDoc.h"

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

// CLayoutManagerDoc

IMPLEMENT_DYNCREATE(CLayoutManagerDoc, CDocument)

BEGIN_MESSAGE_MAP(CLayoutManagerDoc, CDocument)
		// HINWEIS - Hier werden Mapping-Makros vom Klassen-Assistenten eingef�gt und entfernt.
		//    Innerhalb dieser generierten Quelltextabschnitte NICHTS VER�NDERN!

// CLayoutManagerDoc Konstruktion/Destruktion

	// ZU ERLEDIGEN: Hier Code f�r One-Time-Konstruktion einf�gen



BOOL CLayoutManagerDoc::OnNewDocument()
	if (!CDocument::OnNewDocument())
		return FALSE;

	// ZU ERLEDIGEN: Hier Code zur Reinitialisierung einf�gen
	// (SDI-Dokumente verwenden dieses Dokument)

	return TRUE;

// CLayoutManagerDoc Serialisierung

void CLayoutManagerDoc::Serialize(CArchive& ar)
	if (ar.IsStoring())
		// ZU ERLEDIGEN: Hier Code zum Speichern einf�gen
		// ZU ERLEDIGEN: Hier Code zum Laden einf�gen

// CLayoutManagerDoc Diagnose

#ifdef _DEBUG
void CLayoutManagerDoc::AssertValid() const

void CLayoutManagerDoc::Dump(CDumpContext& dc) const
#endif //_DEBUG

// CLayoutManagerDoc Befehle

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.


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


About the Author

Erwin Tratar
Web Developer
Germany Germany
independant software developer from Germany.
author of Euraconf, an isdn/pabx management software

Programmer since 1991, c/c++/java, started with professional games development, now mainly network, telecommunication and internet stuff

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.171114.1 | Last Updated 5 Aug 2000
Article Copyright 1999 by Erwin Tratar
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid