Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.4 KiB

  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-1998 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 related
  13. // electronic documentation provided with the library.
  14. // See these sources for detailed information regarding the
  15. // Microsoft Foundation Classes product.
  16. #ifndef __HELLO_H__
  17. #define __HELLO_H__
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CMainWindow:
  20. // See hello.cpp for the code to the member functions and the message map.
  21. //
  22. class CMainWindow : public CFrameWnd
  23. {
  24. public:
  25. CMainWindow();
  26. //{{AFX_MSG( CMainWindow )
  27. afx_msg void OnPaint();
  28. afx_msg void OnAbout();
  29. //}}AFX_MSG
  30. DECLARE_MESSAGE_MAP()
  31. };
  32. /////////////////////////////////////////////////////////////////////////////
  33. // CTheApp:
  34. // See hello.cpp for the code to the InitInstance member function.
  35. //
  36. class CTheApp : public CWinApp
  37. {
  38. public:
  39. virtual BOOL InitInstance();
  40. };
  41. /////////////////////////////////////////////////////////////////////////////
  42. #endif // __HELLO_H__