1 /*********************************************************/
2 /* Test program driver for freetype on Win32 Platform */
3 /* CopyRight(left) G. Ramat 1998 (gcramat@radiostudio.it)*/
5 /*********************************************************/
7 // testw32.cpp : Defines the class behaviors for the application.
12 #include "testw32dlg.h"
17 static char THIS_FILE
[] = __FILE__
;
20 /////////////////////////////////////////////////////////////////////////////
23 BEGIN_MESSAGE_MAP(CTestw32App
, CWinApp
)
24 //{{AFX_MSG_MAP(CTestw32App)
25 // NOTE - the ClassWizard will add and remove mapping macros here.
26 // DO NOT EDIT what you see in these blocks of generated code!
28 ON_COMMAND(ID_HELP
, CWinApp::OnHelp
)
31 /////////////////////////////////////////////////////////////////////////////
32 // CTestw32App construction
34 CTestw32App::CTestw32App()
36 // TODO: add construction code here,
37 // Place all significant initialization in InitInstance
40 /////////////////////////////////////////////////////////////////////////////
41 // The one and only CTestw32App object
45 /////////////////////////////////////////////////////////////////////////////
46 // CTestw32App initialization
48 BOOL
CTestw32App::InitInstance()
50 // Standard initialization
51 // If you are not using these features and wish to reduce the size
52 // of your final executable, you should remove from the following
53 // the specific initialization routines you do not need.
57 int nResponse
= dlg
.DoModal();
58 if (nResponse
== IDOK
)
60 // TODO: Place code here to handle when the dialog is
63 else if (nResponse
== IDCANCEL
)
65 // TODO: Place code here to handle when the dialog is
66 // dismissed with Cancel
69 // Since the dialog has been closed, return FALSE so that we exit the
70 // application, rather than start the application's message pump.
74 BOOL
CTestw32App::OnCmdMsg(UINT nID
, int nCode
, void* pExtra
, AFX_CMDHANDLERINFO
* pHandlerInfo
)
76 // TODO: Add your specialized code here and/or call the base class
78 return CWinApp::OnCmdMsg(nID
, nCode
, pExtra
, pHandlerInfo
);