home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / general / mdi / mdi.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.2 KB  |  46 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.  
  32. // Implementation
  33.  
  34.     //{{AFX_MSG(CMdiApp)
  35.         afx_msg void OnAppAbout();
  36.     //}}AFX_MSG
  37.     DECLARE_MESSAGE_MAP()
  38. };
  39.  
  40. /////////////////////////////////////////////////////////////////////////////
  41. // other globals
  42.  
  43. extern COLORREF NEAR colorArray[];      // color index table
  44.  
  45. /////////////////////////////////////////////////////////////////////////////
  46.