14
14
/////////////////////////////////////////////////////////////////////////////
17
BEGIN_MESSAGE_MAP(CPocketPJApp, CWinApp)
18
//{{AFX_MSG_MAP(CPocketPJApp)
19
// NOTE - the ClassWizard will add and remove mapping macros here.
20
// DO NOT EDIT what you see in these blocks of generated code!
17
BEGIN_MESSAGE_MAP (CPocketPJApp, CWinApp)
18
//{{AFX_MSG_MAP(CPocketPJApp)
19
// NOTE - the ClassWizard will add and remove mapping macros here.
20
// DO NOT EDIT what you see in these blocks of generated code!
24
24
/////////////////////////////////////////////////////////////////////////////
25
25
// CPocketPJApp construction
27
27
CPocketPJApp::CPocketPJApp()
30
// TODO: add construction code here,
31
// Place all significant initialization in InitInstance
30
// TODO: add construction code here,
31
// Place all significant initialization in InitInstance
34
34
/////////////////////////////////////////////////////////////////////////////
42
42
BOOL CPocketPJApp::InitInstance()
44
// Standard initialization
45
// If you are not using these features and wish to reduce the size
46
// of your final executable, you should remove from the following
47
// the specific initialization routines you do not need.
51
int nResponse = dlg.DoModal();
52
if (nResponse == IDOK)
54
// TODO: Place code here to handle when the dialog is
57
else if (nResponse == IDCANCEL)
59
// TODO: Place code here to handle when the dialog is
60
// dismissed with Cancel
63
// Since the dialog has been closed, return FALSE so that we exit the
64
// application, rather than start the application's message pump.
44
// Standard initialization
45
// If you are not using these features and wish to reduce the size
46
// of your final executable, you should remove from the following
47
// the specific initialization routines you do not need.
51
int nResponse = dlg.DoModal();
53
if (nResponse == IDOK) {
54
// TODO: Place code here to handle when the dialog is
56
} else if (nResponse == IDCANCEL) {
57
// TODO: Place code here to handle when the dialog is
58
// dismissed with Cancel
61
// Since the dialog has been closed, return FALSE so that we exit the
62
// application, rather than start the application's message pump.