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

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