home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / HandHeldPCPro30 / sdk.exe / Jupiter SDK / data1.cab / MFC_Samples / cmnctrls / ctrldemo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-02-19  |  1014 b   |  43 lines

  1. // ctrldemo.h : main header file for the CTRLDEMO application
  2. //
  3.  
  4. #ifndef __AFXWIN_H__
  5.     #error include 'stdafx.h' before including this file for PCH
  6. #endif
  7.  
  8. #include "resource.h"       // main symbols
  9.  
  10.  
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CCtrldemoApp:
  13. // See ctrldemo.cpp for the implementation of this class
  14. //
  15. #define LISTICONCOUNT    4
  16. #define ICONLISTFIRST    0
  17. #define ICONLISTLAST    (ICONLISTFIRST + LISTICONCOUNT - 1)
  18. #define ICONCOUNT (LISTICONCOUNT)
  19.  
  20. #define CELEMS(rgFoo) (sizeof(rgFoo) / sizeof(rgFoo[0]))
  21. #define SWAP(a, b)    a = a+b; b = a-b; a = a-b; 
  22.  
  23. class CCtrldemoApp : public CWinApp
  24. {
  25. public:
  26.  
  27. // Overrides
  28.     // ClassWizard generated virtual function overrides
  29.     //{{AFX_VIRTUAL(CCtrldemoApp)
  30.     public:
  31.     virtual BOOL InitInstance();
  32.     //}}AFX_VIRTUAL
  33.  
  34. // Implementation
  35.  
  36.     //{{AFX_MSG(CCtrldemoApp)
  37.     //}}AFX_MSG
  38.     DECLARE_MESSAGE_MAP()
  39. };
  40.  
  41.  
  42. /////////////////////////////////////////////////////////////////////////////
  43.