home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / general / mdidocvw / mdi.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.3 KB  |  50 lines

  1. // MDI.h : main header file for the MDI application
  2. //
  3.  
  4. // This is a part of the Microsoft Foundation Classes C++ library.
  5. // Copyright (C) 1992-1998 Microsoft Corporation
  6. // All rights reserved.
  7. //
  8. // This source code is only intended as a supplement to the
  9. // Microsoft Foundation Classes Reference and related
  10. // electronic documentation provided with the library.
  11. // See these sources for detailed information regarding the
  12. // Microsoft Foundation Classes product.
  13.  
  14.  
  15. #ifndef __AFXWIN_H__
  16.     #error include 'stdafx.h' before including this file for PCH
  17. #endif
  18.  
  19. #include "resource.h"       // main symbols
  20.  
  21. /////////////////////////////////////////////////////////////////////////////
  22. // CMDIApp:
  23. // See MDI.cpp for the implementation of this class
  24. //
  25.  
  26. class CMDIApp : public CWinApp
  27. {
  28. public:
  29.     CMDIApp();
  30.  
  31. // Overrides
  32.     // ClassWizard generated virtual function overrides
  33.     //{{AFX_VIRTUAL(CMDIApp)
  34.     public:
  35.     virtual BOOL InitInstance();
  36.     //}}AFX_VIRTUAL
  37.  
  38. // Implementation
  39.  
  40.     //{{AFX_MSG(CMDIApp)
  41.     afx_msg void OnAppAbout();
  42.     afx_msg void OnNewHello();
  43.     afx_msg void OnNewBounce();
  44.     //}}AFX_MSG
  45.     DECLARE_MESSAGE_MAP()
  46. };
  47.  
  48. extern COLORREF  colorArray[]; //used to store the 5 basic colors
  49. /////////////////////////////////////////////////////////////////////////////
  50.