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

  1. // CmnCtrl1.h : main header file for the CMNCTRL1 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. #if !defined(AFX_CMNCTRL1_H__A14ECE83_E24D_11D0_8286_00C04FD73634__INCLUDED_)
  14. #define AFX_CMNCTRL1_H__A14ECE83_E24D_11D0_8286_00C04FD73634__INCLUDED_
  15.  
  16. #if _MSC_VER >= 1000
  17. #pragma once
  18. #endif // _MSC_VER >= 1000
  19.  
  20. #ifndef __AFXWIN_H__
  21.     #error include 'stdafx.h' before including this file for PCH
  22. #endif
  23.  
  24. #include "resource.h"       // main symbols
  25.  
  26. /////////////////////////////////////////////////////////////////////////////
  27. // CCmnCtrl1App:
  28. // See CmnCtrl1.cpp for the implementation of this class
  29. //
  30. #define CELEMS(rgFoo) (sizeof(rgFoo) / sizeof(rgFoo[0]))
  31.  
  32. class CCmnCtrl1App : public CWinApp
  33. {
  34. public:
  35.     CCmnCtrl1App();
  36.  
  37. // Overrides
  38.     // ClassWizard generated virtual function overrides
  39.     //{{AFX_VIRTUAL(CCmnCtrl1App)
  40.     public:
  41.     virtual BOOL InitInstance();
  42.     //}}AFX_VIRTUAL
  43.  
  44. // Implementation
  45.  
  46.     //{{AFX_MSG(CCmnCtrl1App)
  47.     //}}AFX_MSG
  48.     DECLARE_MESSAGE_MAP()
  49. };
  50.  
  51.  
  52. /////////////////////////////////////////////////////////////////////////////
  53.  
  54. //{{AFX_INSERT_LOCATION}}
  55. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  56.  
  57. #endif // !defined(AFX_CMNCTRL1_H__A14ECE83_E24D_11D0_8286_00C04FD73634__INCLUDED_)
  58.