Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version
Go to top

Layout Manager for Dialogs, Formviews, DialogBars and PropertyPages

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

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

#include "MainFrm.h"

#include "ETSLayout.h"

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

// CMainFrame



// CMainFrame Konstruktion/Zerst�rung

	// ZU ERLEDIGEN: Hier Code zur Member-Initialisierung einf�gen


BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
	if( !CFrameWnd::PreCreateWindow(cs) )
		return FALSE;
	// ZU ERLEDIGEN: �ndern Sie hier die Fensterklasse oder das Erscheinungsbild, indem Sie
	//  CREATESTRUCT cs modifizieren.

	return TRUE;

// CMainFrame Diagnose

#ifdef _DEBUG
void CMainFrame::AssertValid() const

void CMainFrame::Dump(CDumpContext& dc) const

#endif //_DEBUG

// CMainFrame Nachrichten-Handler

void CMainFrame::OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI) 

	if( GetActiveView() && GetActiveView()->IsKindOf( RUNTIME_CLASS(ETSLayoutFormView) ) ) {
		GetActiveView()->SendMessage( WM_GETMINMAXINFO, 0, (LPARAM) lpMMI );

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

| Advertise | Privacy | Mobile
Web02 | 2.8.140916.1 | Last Updated 5 Aug 2000
Article Copyright 1999 by Erwin Tratar
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid