home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / epgdspid.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  896b  |  51 lines

  1. // epgdspid.h
  2.  
  3. #ifndef __EPGDSPID_H__
  4. #define __EPGDSPID_H__
  5.  
  6. #ifdef __MKTYPLIB__
  7.  
  8.     // Use with SetActiveView
  9.     typedef enum epgview
  10.     {
  11.         EPG_GRID_VIEW        = 0,
  12.         EPG_CATEGORY_VIEW    = 1,
  13.         EPG_DSS_VIEW        = 2,
  14.         EPG_MAX_VIEW        = 3
  15.     } EPGVIEW;
  16.  
  17. typedef enum 
  18. {
  19.         TVX_CONTROL_GENERIC = 0,
  20.         TVX_CONTROL_EPG    = 1,
  21.         TVX_CONTROL_FSVIDEO = 2,
  22.         // number of controls as enumed above
  23.         TVX_CONTROL_NUM_OF_TYPES=3
  24. }TVX_CONTROL_TYPES;
  25.  
  26.  
  27. #endif
  28.  
  29. // Dispatch IDs
  30.  
  31. // IEPGComponent
  32.  
  33. #define dispidSetItem                    1001
  34. #define dispidClear                        1002
  35.  
  36. // IEPG
  37.  
  38. #define dispidSetActiveView                2001
  39. #define dispidGetActiveView                2002
  40. #define dispidJumpTo                    2003
  41. #define dispidTakeFocus                    2004
  42.  
  43. // ITVControlPrivate
  44.  
  45. #define dispidResume                    3001
  46. #define dispidSuspend                    3002
  47. #define dispidIdentify                    3003
  48. #define dispidAccelCommand                3004
  49.  
  50. #endif // __EPGDSPID_H__
  51.