home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / mmpm21tk.zip / TK / CAPSAMP / CAPSAMP.H < prev    next >
Text File  |  1993-03-04  |  4KB  |  115 lines

  1. /*************************************************************************
  2.  * File Name    :  capsamp.h
  3.  *
  4.  * Description  :  This file contains the definitions used by the Caption
  5.  *                 sample application.
  6.  *
  7.  * Copyright (C) IBM 1993
  8.  *************************************************************************/
  9. #define INIT_VOLUME                75           /* initial volume level  */
  10. #define AUDIO_SLIDER_TICKS         20
  11.  
  12. #define ID_MESSAGEBOX              1
  13. #define ID_ICON                    100
  14.  
  15. /*
  16.  * Main dialog box
  17.  */
  18. #define IDD_MAIN_WINDOW            100
  19. #define IDC_GPB_STOP               101
  20. #define IDC_GPB_PLAY               102
  21. #define IDC_GPB_PAUSE              103
  22. #define IDC_GPB_REWIND             104
  23. #define IDC_SL_VOLUME              105
  24. #define IDC_AUDIO_SLIDER           106
  25. #define IDC_AUDIO_POSITION         107
  26.  
  27. #define IDM_OPTIONS_MENU           120
  28. #define IDM_SETTINGS               121
  29.  
  30. #define IDM_HELP_MENU              130
  31. #define IDM_HELP_INDEX             131
  32. #define IDM_HELP_GENERAL           132
  33. #define IDM_HELP_USING             133
  34. #define IDM_HELP_KEYS              134
  35. #define IDM_HELP_PRODUCTINFO       135
  36.  
  37. /*
  38.  * Settings dialog box
  39.  */
  40. #define IDD_SETTINGS_DLG           250
  41. #define IDC_TEXT_COLUMNS           251
  42. #define IDC_TEXT_COLUMNS_SB        252
  43. #define IDC_TEXT_ROWS              253
  44. #define IDC_TEXT_ROWS_SB           254
  45. #define IDC_BACKGROUND_COLOR       255
  46. #define IDC_BACKGROUND_COLOR_SB    256
  47. #define IDC_TEXT_COLOR             257
  48. #define IDC_TEXT_COLOR_SB          258
  49. #define IDC_WINDOW_POSITION        259
  50. #define IDC_WINDOW_POSITION_SB     260
  51. #define IDC_OK_PB                  261
  52. #define IDC_HELP_PB                262
  53. #define IDC_CANCEL_PB              263
  54.  
  55. /*
  56.  * Product Info dialog box
  57.  */
  58. #define IDD_PRODUCTINFO_DLG        290
  59.  
  60. #define ID_AUDIO_HELPTABLE         300
  61. #define ID_SUBTABLE_MESSAGEBOX     301
  62.  
  63. /*
  64.  * User parms for the mci operations - these will identify which
  65.  * action generated a received notification message.
  66.  */
  67. #define UP_PLAY                    1
  68.  
  69. #define OPTIONSLEN                 24
  70. #define NUMBER_OF_SETTINGS         6
  71.  
  72. /*
  73.  * Button bitmap id's
  74.  */
  75. #define ID_BMP_PLAY0               401
  76. #define ID_BMP_PLAY1               402
  77. #define ID_BMP_PLAY2               403
  78. #define ID_BMP_PLAY3               404
  79. #define ID_BMP_PLAY4               405
  80. #define ID_BMP_PAUSE               406
  81. #define ID_BMP_STOP                407
  82. #define ID_BMP_REWIND              408
  83.  
  84. /*
  85.  * String defines for the string table.
  86.  */
  87. #define LEN_ERROR_TITLE                     60
  88. #define LEN_ERROR_MESSAGE                   128
  89. #define LEN_PROGRAM_TITLE                   60
  90. #define LEN_HELP_WINDOW_TITLE               60
  91. #define LEN_HELP_LIBRARY_NAME               13 /* DOS limit   */
  92.  
  93. #define IDS_PROGRAM_TITLE                   1
  94. #define IDS_CAP_SAM_ERROR                   2
  95. #define IDS_HELP_WINDOW_TITLE               3
  96. #define IDS_HELP_LIBRARY_NAME               4
  97. #define IDS_DEFAULTSIZE                     5
  98. #define IDS_HELP_CREATION_FAILED            6
  99. #define IDS_UNKNOWN                         7
  100. #define IDS_CANNOT_FIND_AUDIO_FILE          8
  101. #define IDS_UNEXPECTED_EOF                  9
  102. #define IDS_INVALID_FILE_FORMAT             10
  103. #define IDS_TOO_MANY_LINES                  11
  104. #define IDS_WHITE                           12
  105. #define IDS_YELLOW                          13
  106. #define IDS_GRAY                            14
  107. #define IDS_BLUE                            15
  108. #define IDS_BLACK                           16
  109. #define IDS_RED                             17
  110. #define IDS_CENTER                          18
  111. #define IDS_LEFT                            19
  112. #define IDS_RIGHT                           20
  113. #define IDS_INVALID_WINDOW_HANDLE           21
  114. #define IDS_INVALID_FILE_NAME               22
  115.