Click here to Skip to main content
15,885,683 members
Articles / Desktop Programming / MFC

Layout Manager for Dialogs, Formviews, DialogBars and PropertyPages

Rate me:
Please Sign up or sign in to vote.
4.92/5 (91 votes)
4 Aug 2000 967.2K   11.9K   320  
A framework to provide automatic layout control for dialogs and forms
#if !defined(AFX_TABDIALOG_H__1C80FFA3_E9D4_11D2_A207_4854E82A1622__INCLUDED_)
#define AFX_TABDIALOG_H__1C80FFA3_E9D4_11D2_A207_4854E82A1622__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TabDialog.h : Header-Datei
//

/////////////////////////////////////////////////////////////////////////////
// Dialogfeld CTabDialog 
#include "ETSLayout.h"

class CTabDialog : public ETSLayoutDialog
{
// Konstruktion
public:
	CTabDialog(CWnd* pParent = NULL);   // Standardkonstruktor

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

// Dialogfelddaten
	//{{AFX_DATA(CTabDialog)
	enum { IDD = IDD_DIALOG2 };
	CTabCtrl	m_Tab;
	//}}AFX_DATA


// �berschreibungen
	// Vom Klassen-Assistenten generierte virtuelle Funktions�berschreibungen
	//{{AFX_VIRTUAL(CTabDialog)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV-Unterst�tzung
	//}}AFX_VIRTUAL

// Implementierung
protected:

	// Generierte Nachrichtenzuordnungsfunktionen
	//{{AFX_MSG(CTabDialog)
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // AFX_TABDIALOG_H__1C80FFA3_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


Written By
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

Comments and Discussions