]> git.saurik.com Git - wxWidgets.git/blob - samples/mfc/mfctest.h
Committing menubar changes again after CVS trashed them.
[wxWidgets.git] / 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
5 // applications.
6 //
7 // This is a part of the Microsoft Foundation Classes C++ library.
8 // Copyright (C) 1992 Microsoft Corporation
9 // All rights reserved.
10 //
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.
16
17 #ifndef __MFCTEST_H__
18 #define __MFCTEST_H__
19
20 /////////////////////////////////////////////////////////////////////////////
21
22 // CMainWindow:
23 // See hello.cpp for the code to the member functions and the message map.
24 //
25 class CMainWindow : public CFrameWnd
26 {
27 public:
28 CMainWindow();
29
30 //{{AFX_MSG( CMainWindow )
31 afx_msg void OnPaint();
32 afx_msg void OnAbout();
33 afx_msg void OnTest();
34 //}}AFX_MSG
35
36 DECLARE_MESSAGE_MAP()
37 };
38
39 // A dummy CWnd pointing to a wxWindow's HWND
40 class CDummyWindow: public CWnd
41 {
42 public:
43 CDummyWindow(HWND hWnd);
44 ~CDummyWindow(void);
45 };
46
47 /////////////////////////////////////////////////////////////////////////////
48
49 // CTheApp:
50 // See hello.cpp for the code to the InitInstance member function.
51 //
52 class CTheApp : public CWinApp
53 {
54 public:
55 BOOL InitInstance();
56 int ExitInstance();
57
58 // Override this to provide wxWindows message loop
59 // compatibility
60 BOOL PreTranslateMessage(MSG *msg);
61 BOOL OnIdle(LONG lCount);
62 };
63
64 /////////////////////////////////////////////////////////////////////////////
65
66 #endif // __MFCTEST_H__