]>
git.saurik.com Git - wxWidgets.git/blob - samples/mfc/mfctest.h
1 // hello.h : Declares the class interfaces for the application.
2 // Hello is a simple program which consists of a main window
3 // and an "About" dialog which can be invoked by a menu choice.
4 // It is intended to serve as a starting-point for new
7 // This is a part of the Microsoft Foundation Classes C++ library.
8 // Copyright (C) 1992 Microsoft Corporation
9 // All rights reserved.
11 // This source code is only intended as a supplement to the
12 // Microsoft Foundation Classes Reference and Microsoft
13 // WinHelp documentation provided with the library.
14 // See these sources for detailed information regarding the
15 // Microsoft Foundation Classes product.
20 /////////////////////////////////////////////////////////////////////////////
23 // See hello.cpp for the code to the member functions and the message map.
25 class CMainWindow
: public CFrameWnd
30 //{{AFX_MSG( CMainWindow )
31 afx_msg
void OnPaint();
32 afx_msg
void OnAbout();
33 afx_msg
void OnTest();
39 // A dummy CWnd pointing to a wxWindow's HWND
40 class CDummyWindow
: public CWnd
43 CDummyWindow(HWND hWnd
);
47 /////////////////////////////////////////////////////////////////////////////
50 // See hello.cpp for the code to the InitInstance member function.
52 class CTheApp
: public CWinApp
58 // Override this to provide wxWindows message loop
60 BOOL
PreTranslateMessage(MSG
*msg
);
61 BOOL
OnIdle(LONG lCount
);
64 /////////////////////////////////////////////////////////////////////////////
66 #endif // __MFCTEST_H__