home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c480 / 20.ddi / MFC / SAMPLES / MDI / MDI.H_ / MDI.H
Encoding:
C/C++ Source or Header  |  1993-02-08  |  1.2 KB  |  48 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 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 Microsoft
  9. // QuickHelp and/or WinHelp documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  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.     virtual BOOL InitInstance();
  33.  
  34. // Implementation
  35.  
  36.     //{{AFX_MSG(CMdiApp)
  37.         afx_msg void OnAppAbout();
  38.     //}}AFX_MSG
  39.     DECLARE_MESSAGE_MAP()
  40. };
  41.  
  42. /////////////////////////////////////////////////////////////////////////////
  43. // other globals
  44.  
  45. extern COLORREF NEAR colorArray[];      // color index table
  46.  
  47. /////////////////////////////////////////////////////////////////////////////
  48.