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

Layout Manager for Dialogs, Formviews, DialogBars and PropertyPages

, 4 Aug 2000
A framework to provide automatic layout control for dialogs and forms
// LayoutManagerView.h : Schnittstelle der Klasse CLayoutManagerView
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_LAYOUTMANAGERVIEW_H__1C80FF9A_E9D4_11D2_A207_4854E82A1622__INCLUDED_)
#define AFX_LAYOUTMANAGERVIEW_H__1C80FF9A_E9D4_11D2_A207_4854E82A1622__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "ETSLayout.h"

class CLayoutManagerView : public ETSLayoutFormView
{
protected: // Nur aus Serialisierung erzeugen
	CLayoutManagerView();
	DECLARE_DYNCREATE(CLayoutManagerView)
	

	/* DialogMgr: Add this: */
	DECLARE_LAYOUT();
	/************************/

public:
	//{{AFX_DATA(CLayoutManagerView)
	enum{ IDD = IDD_LAYOUTMANAGER_FORM };
		// HINWEIS: der Klassenassistent f�gt an dieser Stelle Datenelemente (Members) ein
	//}}AFX_DATA

// Attribute
public:
	CLayoutManagerDoc* GetDocument();

// Operationen
public:

// �berladungen
	// Vom Klassenassistenten generierte �berladungen virtueller Funktionen
	//{{AFX_VIRTUAL(CLayoutManagerView)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV-Unterst�tzung
	virtual void OnInitialUpdate(); // das erste mal nach der Konstruktion aufgerufen
	//}}AFX_VIRTUAL

// Implementierung
public:
	virtual ~CLayoutManagerView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generierte Message-Map-Funktionen
protected:
	//{{AFX_MSG(CLayoutManagerView)
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	afx_msg void OnButton3();
	afx_msg void OnButton4();
	afx_msg void OnButton6();
	afx_msg void OnButton5();
	afx_msg void OnButton7();
	afx_msg void OnButton8();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // Testversion in LayoutManagerView.cpp
inline CLayoutManagerDoc* CLayoutManagerView::GetDocument()
   { return (CLayoutManagerDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ f�gt unmittelbar vor der vorhergehenden Zeile zus�tzliche Deklarationen ein.

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

Share

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 | Terms of Use | Mobile
Web01 | 2.8.1411023.1 | Last Updated 5 Aug 2000
Article Copyright 1999 by Erwin Tratar
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid