|
|
1.1 ! root 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: // QuickHelp documentation provided with the library. ! 14: // See these sources for detailed information regarding the ! 15: // Microsoft Foundation Classes product. ! 16: ! 17: #ifndef __HELLO_H__ ! 18: #define __HELLO_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 void OnPaint(); ! 31: afx_msg void OnAbout(); ! 32: ! 33: DECLARE_MESSAGE_MAP() ! 34: }; ! 35: ! 36: ///////////////////////////////////////////////////////////////////////////// ! 37: ! 38: // CTheApp: ! 39: // See hello.cpp for the code to the InitInstance member function. ! 40: // ! 41: class CTheApp : public CWinApp ! 42: { ! 43: public: ! 44: BOOL InitInstance(); ! 45: }; ! 46: ! 47: ///////////////////////////////////////////////////////////////////////////// ! 48: ! 49: #endif // __HELLO_H__ ! 50:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.