|
// PropPage1.cpp: Implementierungsdatei
//
#include "stdafx.h"
#include "LayoutManager.h"
#include "PropPage1.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// Eigenschaftenseite CPropPage1
IMPLEMENT_DYNCREATE(CPropPage1, ETSLayoutPropertyPage)
CPropPage1::CPropPage1() : ETSLayoutPropertyPage(CPropPage1::IDD)
{
//{{AFX_DATA_INIT(CPropPage1)
// HINWEIS: Der Klassen-Assistent f�gt hier Elementinitialisierung ein
//}}AFX_DATA_INIT
}
CPropPage1::~CPropPage1()
{
}
void CPropPage1::DoDataExchange(CDataExchange* pDX)
{
ETSLayoutPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CPropPage1)
// HINWEIS: Der Klassen-Assistent f�gt hier DDX- und DDV-Aufrufe ein
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CPropPage1, ETSLayoutPropertyPage)
//{{AFX_MSG_MAP(CPropPage1)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// Behandlungsroutinen f�r Nachrichten CPropPage1
BOOL CPropPage1::OnInitDialog()
{
ETSLayoutPropertyPage::OnInitDialog();
// Create the root pane
CreateRoot( VERTICAL );
m_RootPane->addItem(IDC_LIST1);
UpdateLayout();
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX-Eigenschaftenseiten sollten FALSE zur�ckgeben
}
/////////////////////////////////////////////////////////////////////////////
// Eigenschaftenseite CPropPage2
IMPLEMENT_DYNCREATE(CPropPage2, ETSLayoutPropertyPage)
CPropPage2::CPropPage2() : ETSLayoutPropertyPage(CPropPage2::IDD)
{
//{{AFX_DATA_INIT(CPropPage2)
// HINWEIS: Der Klassen-Assistent f�gt hier Elementinitialisierung ein
//}}AFX_DATA_INIT
}
CPropPage2::~CPropPage2()
{
}
void CPropPage2::DoDataExchange(CDataExchange* pDX)
{
ETSLayoutPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CPropPage2)
// HINWEIS: Der Klassen-Assistent f�gt hier DDX- und DDV-Aufrufe ein
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CPropPage2, ETSLayoutPropertyPage)
//{{AFX_MSG_MAP(CPropPage2)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// Behandlungsroutinen f�r Nachrichten CPropPage2
BOOL CPropPage2::OnInitDialog()
{
ETSLayoutPropertyPage::OnInitDialog();
// Create the root pane
CreateRoot( VERTICAL );
m_RootPane << item(IDC_STATIC1, NORESIZE);
m_RootPane << item(IDC_EDIT1, ABSOLUTE_VERT);
m_RootPane << ( paneCtrl( IDC_STATIC2, VERTICAL, GREEDY,nDefaultBorder,10,10)
<< ( pane(HORIZONTAL, ABSOLUTE_VERT)
<< item(IDC_EDIT2, ABSOLUTE_VERT)
<< item(IDC_EDIT3, ABSOLUTE_VERT)
)
<< item(IDC_LIST1)
);
UpdateLayout();
// GetDlgItem(IDC_SPIN1)->ShowWindow(SW_HIDE);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX-Eigenschaftenseiten sollten FALSE zur�ckgeben
}
|
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
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