root/trunk/AddProjectWizard.cpp

Revision 5, 1.5 kB (checked in by qbert, 3 years ago)

Initial ( and last :( ) commit

Line 
1 // AddProjectWizard.cpp : implementation file
2 //
3
4 #include "stdafx.h"
5 #include "Elephant.h"
6 #include "AddProjectWizard.h"
7
8 #ifdef _DEBUG
9 #define new DEBUG_NEW
10 #undef THIS_FILE
11 static char THIS_FILE[] = __FILE__;
12 #endif
13
14 /////////////////////////////////////////////////////////////////////////////
15 // CAddProjectWizard dialog
16
17
18 CAddProjectWizard::CAddProjectWizard(CWnd* pParent /*=NULL*/)
19     : CDialog(CAddProjectWizard::IDD, pParent)
20 {
21     //{{AFX_DATA_INIT(CAddProjectWizard)
22     //}}AFX_DATA_INIT
23 }
24
25
26 void CAddProjectWizard::DoDataExchange(CDataExchange* pDX)
27 {
28     CDialog::DoDataExchange(pDX);
29     //{{AFX_DATA_MAP(CAddProjectWizard)
30     DDX_Control(pDX, IDC_EDIT11, m_projectDescription);
31     DDX_Control(pDX, IDC_EDIT10, m_projectImage);
32     DDX_Control(pDX, IDC_EDIT12, m_projectFolder);
33     DDX_Control(pDX, IDC_EDIT9, m_projectName);
34     //}}AFX_DATA_MAP
35 }
36
37
38 BEGIN_MESSAGE_MAP(CAddProjectWizard, CDialog)
39     //{{AFX_MSG_MAP(CAddProjectWizard)
40     //}}AFX_MSG_MAP
41 END_MESSAGE_MAP()
42
43 /////////////////////////////////////////////////////////////////////////////
44 // CAddProjectWizard message handlers
45
46 BOOL CAddProjectWizard::OnInitDialog()
47 {
48     CDialog::OnInitDialog();
49    
50     m_projectName.SetText("Project Type Name");
51     m_projectImage.SetText("Project Image Path");
52     m_projectFolder.SetText("Root Folder");
53     m_projectDescription.SetText("Project Description");
54    
55     return TRUE;  // return TRUE unless you set the focus to a control
56                   // EXCEPTION: OCX Property Pages should return FALSE
57 }
Note: See TracBrowser for help on using the browser.