/[H6]/h6-udlånssystem.cpp
ViewVC logotype

Contents of /h6-udlånssystem.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31 - (show annotations) (download)
Sun Sep 3 10:10:19 2006 UTC (17 years, 7 months ago) by torben
File size: 1937 byte(s)
Added author/developer comments
1 /*
2 * Developed by Torben H. Nielsen (Auto-generated)
3 */
4
5 #include "stdafx.h"
6 #include "h6-udlånssystem.h"
7 #include "h6-udlånssystemDlg.h"
8
9 #ifdef _DEBUG
10 #define new DEBUG_NEW
11 #endif
12
13
14 // Ch6udlnssystemApp
15
16 BEGIN_MESSAGE_MAP(Ch6udlnssystemApp, CWinApp)
17 ON_COMMAND(ID_HELP, CWinApp::OnHelp)
18 END_MESSAGE_MAP()
19
20
21 // Ch6udlnssystemApp construction
22
23 Ch6udlnssystemApp::Ch6udlnssystemApp()
24 {
25 // TODO: add construction code here,
26 // Place all significant initialization in InitInstance
27 }
28
29
30 // The one and only Ch6udlnssystemApp object
31
32 Ch6udlnssystemApp theApp;
33
34
35 // Ch6udlnssystemApp initialization
36
37 BOOL Ch6udlnssystemApp::InitInstance()
38 {
39 // InitCommonControls() is required on Windows XP if an application
40 // manifest specifies use of ComCtl32.dll version 6 or later to enable
41 // visual styles. Otherwise, any window creation will fail.
42 InitCommonControls();
43
44 CWinApp::InitInstance();
45
46 AfxEnableControlContainer();
47
48 // Standard initialization
49 // If you are not using these features and wish to reduce the size
50 // of your final executable, you should remove from the following
51 // the specific initialization routines you do not need
52 // Change the registry key under which our settings are stored
53 // TODO: You should modify this string to be something appropriate
54 // such as the name of your company or organization
55 SetRegistryKey(_T("Local AppWizard-Generated Applications"));
56
57 Ch6udlnssystemDlg dlg;
58 m_pMainWnd = &dlg;
59 INT_PTR nResponse = dlg.DoModal();
60 if (nResponse == IDOK)
61 {
62 // TODO: Place code here to handle when the dialog is
63 // dismissed with OK
64 }
65 else if (nResponse == IDCANCEL)
66 {
67 // TODO: Place code here to handle when the dialog is
68 // dismissed with Cancel
69 }
70
71 // Since the dialog has been closed, return FALSE so that we exit the
72 // application, rather than start the application's message pump.
73 return FALSE;
74 }

  ViewVC Help
Powered by ViewVC 1.1.20