home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / DirectX SDK / DXSDK / samples / Multimedia / DirectShow_WinXP / VMR / VMRPlayer / resource.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-10-08  |  4.0 KB  |  109 lines

  1. // Copyright (c) 1995-2001  Microsoft Corporation.  All Rights Reserved.
  2. //
  3. // These are indexes used by the toolbar.
  4. //
  5. #define IDC_STATIC                      -1
  6.  
  7. #define IDX_SEPARATOR                   -1
  8. #define IDX_1                           0
  9. #define IDX_2                           1
  10. #define IDX_3                           2
  11. #define IDX_4                           3
  12. #define IDX_5                           4
  13. #define IDX_6                           5
  14. #define IDX_7                           6
  15. #define IDX_8                           7
  16. #define IDX_9                           8
  17. #define IDX_10                          9
  18. #define IDX_11                          10
  19. #define IDX_12                          11
  20. #define DEFAULT_TBAR_SIZE               10
  21. #define NUMBER_OF_BITMAPS               12
  22.  
  23. #define ID_STATUSBAR                    28
  24. #define ID_TOOLBAR                      29
  25. #define ID_TRACKBAR                     30
  26.  
  27. #define IDR_MAIN_MENU                   101
  28. #define IDR_TOOLBAR                     102
  29. #define IDR_VIDEOCD_ICON                103
  30. #define IDR_ACCELERATOR                 104
  31. #define IDR_VMR                         105
  32. #define IDD_ABOUTBOX                    200
  33.  
  34. #define IDC_XPOS_TRK                    1000
  35. #define IDC_YPOS_TRK                    1001
  36. #define IDC_XPOS                        1002
  37. #define IDC_YPOS                        1003
  38. #define IDC_XSIZE_TRK                   1004
  39. #define IDC_YSIZE_TRK                   1005
  40. #define IDC_XSIZE                       1006
  41. #define IDC_YSIZE                       1007
  42. #define IDC_IMAGE_ENABLE                1008
  43. #define IDC_ALPHA_TRK2                  1009
  44. #define IDC_ALPHA                       1010
  45.  
  46. #define IDM_FILE_OPEN                   40001
  47. #define IDM_FILE_OPEN2                  40005
  48. #define IDM_FILE_CLOSE                  40002
  49. #define IDM_FILE_EXIT                   40003
  50.  
  51. #define IDM_APP_IMAGE                   42000
  52. #define IDM_STREAM_A                    42001
  53. #define IDM_STREAM_B                    42002
  54. #define IDM_CAPTURE_IMAGE               42003
  55. #define IDM_DISPLAY_CAPTURED_IMAGE      42004
  56.  
  57. #define IDM_HELP_ABOUT                  40102
  58.  
  59. // Toolbar commands
  60. #define IDM_MOVIE_STOP                  40010
  61. #define IDM_MOVIE_PLAY                  40011
  62. #define IDM_MOVIE_PREVTRACK             40012
  63. #define IDM_MOVIE_PAUSE                 40013
  64. #define IDM_MOVIE_SKIP_FORE             40014
  65. #define IDM_MOVIE_SKIP_BACK             40015
  66. #define IDM_MOVIE_STEP                  40021
  67.  
  68. #define MENU_STRING_BASE                1000
  69.  
  70. // Different time formats
  71. #define IDM_TIME                        40150
  72. #define IDM_FRAME                       40151
  73. #define IDM_FIELD                       40152
  74. #define IDM_SAMPLE                      40153
  75. #define IDM_BYTES                       40154
  76.  
  77.         // File
  78. #define STR_FILE_OPEN           IDM_FILE_OPEN  + MENU_STRING_BASE
  79. #define STR_FILE_OPEN2          IDM_FILE_OPEN2 + MENU_STRING_BASE
  80. #define STR_FILE_CLOSE          IDM_FILE_CLOSE + MENU_STRING_BASE
  81. #define STR_FILE_EXIT           IDM_FILE_EXIT  + MENU_STRING_BASE
  82.  
  83.         // Properties Menu
  84. #define STR_APP_IMAGE            IDM_APP_IMAGE  + MENU_STRING_BASE
  85. #define STR_STREAM_A            IDM_STREAM_A   + MENU_STRING_BASE
  86. #define STR_STREAM_B            IDM_STREAM_B   + MENU_STRING_BASE
  87. #define STR_CAPTURE_IMAGE        IDM_CAPTURE_IMAGE + MENU_STRING_BASE
  88. #define STR_DISPLAY_CAPTURED_IMAGE        IDM_DISPLAY_CAPTURED_IMAGE + MENU_STRING_BASE
  89.  
  90.         // Help Menu            HELP_MENU_BASE
  91. #define STR_HELP_ABOUT          IDM_HELP_ABOUT + MENU_STRING_BASE
  92.  
  93.         // System Menu
  94. #define STR_SYSMENU_RESTORE     1800
  95. #define STR_SYSMENU_MOVE        1801
  96. #define STR_SYSMENU_MINIMIZE    1802
  97. #define STR_SYSMENU_CLOSE       1803
  98. #define STR_SYSMENU_MAXIMIZE    1804
  99. #define STR_SYSMENU_TASK_LIST   1805
  100.  
  101. #define STR_FILE_FILTER         2000
  102. #define STR_APP_TITLE           2001
  103. #define STR_APP_TITLE_LOADED    2002
  104.  
  105. #define IDD_AUDIOPROP           4000 
  106. #define IDD_VIDEOPROP           4001
  107.  
  108. #define STR_MAX_STRING_LEN      256
  109.