Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

434 lines
16 KiB

  1. //Microsoft App Studio generated resource script.
  2. //
  3. #include "resource.h"
  4. #define APSTUDIO_READONLY_SYMBOLS
  5. /////////////////////////////////////////////////////////////////////////
  6. //
  7. // Generated from the TEXTINCLUDE 2 resource.
  8. //
  9. #define APSTUDIO_HIDDEN_SYMBOLS
  10. #include <windows.h>
  11. #if WINVER >= 0x0400
  12. #include <commctrl.h>
  13. #else
  14. #define DS_CONTEXTHELP 0
  15. #endif
  16. #ifdef DAYTONA
  17. #define FONT_TO_USE "MS Shell Dlg"
  18. #else
  19. #define FONT_TO_USE "MS Shell Dlg"
  20. #endif
  21. #include "cdplayer.rcv"
  22. #undef APSTUDIO_HIDDEN_SYMBOLS
  23. /////////////////////////////////////////////////////////////////////////////////////
  24. #undef APSTUDIO_READONLY_SYMBOLS
  25. //////////////////////////////////////////////////////////////////////////////
  26. //
  27. // Icon
  28. //
  29. IDR_CDPLAYER_ICON ICON cdplayer.ico
  30. IDR_SHELLICON ICON playcda.ico
  31. IDR_INSERT ICON insert.ico
  32. //////////////////////////////////////////////////////////////////////////////
  33. //
  34. // Bitmap
  35. //
  36. // IDR_TOOLBAR_SM BITMAP MOVEABLE PURE "TOOLBAR1.BMP"
  37. // IDR_TOOLBAR_L BITMAP MOVEABLE PURE "TOOLBAR2.BMP"
  38. // IDR_TOOLBAR_LM BITMAP MOVEABLE PURE "TOOLBAR3.BMP"
  39. IDR_TOOLBAR BITMAP MOVEABLE PURE "TOOLBAR.BMP"
  40. IDR_PLAYBAR BITMAP MOVEABLE PURE "CDCTRLS.BMP"
  41. IDR_TRACK BITMAP MOVEABLE PURE "TRACK.BMP"
  42. //////////////////////////////////////////////////////////////////////////////
  43. //
  44. // Cursors
  45. //
  46. IDR_DROP CURSOR drop.cur
  47. IDR_DROPDEL CURSOR dropdel.cur
  48. IDR_DROPCPY CURSOR dropcpy.cur
  49. //////////////////////////////////////////////////////////////////////////////
  50. //
  51. // Accelerators
  52. //
  53. IDR_ACCELTABLE ACCELERATORS PRELOAD
  54. BEGIN
  55. VK_F1, IDM_HELP_TOPICS, VIRTKEY // Help.Help Topics
  56. "S", IDM_PLAYBAR_STOP, VIRTKEY, CONTROL
  57. "P", IDM_PLAYBAR_PLAY, VIRTKEY, CONTROL
  58. END
  59. //////////////////////////////////////////////////////////////////////////////
  60. //
  61. // Menu
  62. //
  63. IDR_MAINMENU MENU DISCARDABLE
  64. BEGIN
  65. POPUP "&Disc"
  66. BEGIN
  67. MENUITEM "Edit Play &List...", IDM_DATABASE_EDIT
  68. MENUITEM SEPARATOR
  69. MENUITEM "E&xit", IDM_DATABASE_EXIT
  70. END
  71. POPUP "&View"
  72. BEGIN
  73. MENUITEM "&Toolbar", IDM_VIEW_TOOLBAR
  74. MENUITEM "&Disc/Track Info", IDM_VIEW_TRACKINFO
  75. MENUITEM "&Status Bar", IDM_VIEW_STATUS
  76. MENUITEM SEPARATOR
  77. MENUITEM "Track Time &Elapsed", IDM_TIME_REMAINING
  78. MENUITEM "Track Time &Remaining", IDM_TRACK_REMAINING
  79. MENUITEM "Dis&c Time Remaining", IDM_DISC_REMAINING
  80. MENUITEM SEPARATOR
  81. MENUITEM "&Volume Control", IDM_VIEW_VOLUME
  82. END
  83. POPUP "&Options"
  84. BEGIN
  85. MENUITEM "&Random Order", IDM_OPTIONS_RANDOM
  86. MENUITEM "&Multidisc Play", IDM_OPTIONS_MULTI
  87. MENUITEM "&Continuous Play", IDM_OPTIONS_CONTINUOUS
  88. MENUITEM "&Intro Play", IDM_OPTIONS_INTRO
  89. MENUITEM SEPARATOR
  90. MENUITEM "&Preferences", IDM_OPTIONS_PREFERENCES
  91. END
  92. POPUP "&Help"
  93. BEGIN
  94. MENUITEM "&Help Topics", IDM_HELP_TOPICS
  95. MENUITEM SEPARATOR
  96. MENUITEM "&About CD Player", IDM_HELP_ABOUT
  97. END
  98. END
  99. //////////////////////////////////////////////////////////////////////////////
  100. //
  101. // Dialog
  102. //
  103. IDR_DISCINFODLG DIALOG DISCARDABLE 31, 32, 264, 210
  104. STYLE DS_MODALFRAME | DS_CONTEXTHELP| WS_POPUP | WS_CAPTION | WS_SYSMENU
  105. CAPTION "CD Player: Disc Settings"
  106. FONT 8, APP_FONT
  107. BEGIN
  108. RTEXT "Drive:", IDC_STATIC_DRIVE, 21, 6, 20, 8
  109. CONTROL "", IDC_SJETEXT_DRIVE, "SJE_TextClass", 0L, 48, 4, 195, 12
  110. RTEXT "&Artist:", IDC_STATIC_ARTIST, 21, 20, 20, 8
  111. EDITTEXT IDC_EDIT_ARTIST, 48, 18, 195, 12, ES_AUTOHSCROLL
  112. RTEXT "&Title:", IDC_STATIC_TITLE, 21, 34, 20, 8
  113. EDITTEXT IDC_EDIT_TITLE, 48, 32, 195, 12, ES_AUTOHSCROLL
  114. LTEXT "&Play List:", IDC_STATIC_PLAY_LIST, 11, 54, 70, 8
  115. LISTBOX IDC_LISTBOX_PLAY_LIST, 11, 65, 100, 95, LBS_OWNERDRAWFIXED |
  116. LBS_EXTENDEDSEL | LBS_DISABLENOSCROLL | LBS_HASSTRINGS |
  117. WS_VSCROLL | WS_TABSTOP
  118. PUSHBUTTON "<- A&dd", IDC_ADD, 115, 78, 40, 14
  119. PUSHBUTTON "&Remove ->", IDC_REMOVE, 115, 97, 40, 14
  120. PUSHBUTTON "C&lear All", IDC_CLEAR, 115, 116, 40, 14
  121. PUSHBUTTON "Re&set", IDC_DEFAULT, 115, 135, 40, 14
  122. LTEXT "A&vailable Tracks:", IDC_STATIC_AVAILABLE_TRACKS, 158, 54, 70, 8
  123. LISTBOX IDC_LISTBOX_AVAILABLE_TRACKS, 158, 65, 100, 95, LBS_OWNERDRAWFIXED |
  124. LBS_EXTENDEDSEL | LBS_DISABLENOSCROLL | LBS_HASSTRINGS |
  125. WS_VSCROLL | WS_TABSTOP
  126. RTEXT "Trac&k 1:", IDC_STATIC_TRACK, 4, 167, 32, 10
  127. EDITTEXT IDC_EDIT_TRACK, 39, 165, 174, 12, ES_AUTOHSCROLL
  128. PUSHBUTTON "Set &Name", IDC_SETNAME, 218, 164, 40, 14
  129. DEFPUSHBUTTON "OK", IDOK, 87, 190, 40, 14
  130. PUSHBUTTON "Cancel", IDCANCEL, 147, 190, 40, 14
  131. CONTROL "", -1, "SJE_TextClass", SS_GRAYRECT, 0, 49, 264, 1
  132. CONTROL "", -1, "SJE_TextClass", SS_GRAYRECT, 0, 182, 264, 1
  133. END
  134. IDR_CDPLAYER DIALOG DISCARDABLE 0, 0, 164, 86
  135. STYLE WS_MINIMIZEBOX | WS_CAPTION | WS_SYSMENU
  136. CAPTION "CD Player"
  137. CLASS "SJE_CdPlayerClass"
  138. MENU IDR_MAINMENU
  139. FONT 8, APP_FONT
  140. BEGIN
  141. CONTROL "", IDC_BUTTON1, "Button",
  142. BS_OWNERDRAW | WS_GROUP | WS_TABSTOP, 68, 5, 54, 12
  143. CONTROL "", IDC_BUTTON2, "Button",
  144. BS_OWNERDRAW | WS_TABSTOP, 122, 5, 18, 12
  145. CONTROL "", IDC_BUTTON3, "Button",
  146. BS_OWNERDRAW | WS_TABSTOP, 140, 5, 18, 12
  147. CONTROL "", IDC_BUTTON4, "Button",
  148. BS_OWNERDRAW | WS_TABSTOP, 68, 21, 18, 12
  149. CONTROL "", IDC_BUTTON5, "Button",
  150. BS_OWNERDRAW | WS_TABSTOP, 86, 21, 18, 12
  151. CONTROL "", IDC_BUTTON6, "Button",
  152. BS_OWNERDRAW | WS_TABSTOP, 104, 21, 18, 12
  153. CONTROL "", IDC_BUTTON7, "Button",
  154. BS_OWNERDRAW | WS_TABSTOP, 122, 21, 18, 12
  155. CONTROL "", IDC_BUTTON8, "Button",
  156. BS_OWNERDRAW | WS_TABSTOP, 140, 21, 18, 12
  157. CONTROL "[00] 00:00",IDC_LED,"SJE_LEDClass",
  158. WS_GROUP, 10, 5, 64, 26
  159. RTEXT "&Artist:",IDC_COMBO1_TEXT, 0, 38, 25, 8
  160. COMBOBOX IDC_COMBO1, 28, 36,130, 60,
  161. CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED |
  162. WS_VSCROLL | WS_GROUP | WS_TABSTOP
  163. RTEXT "Title:",IDC_EDIT1_TEXT, 0, 54, 25, 8
  164. CONTROL "", IDC_EDIT1, "SJE_TextClass", 0L, 28, 52,130, 12
  165. RTEXT "Trac&k:",IDC_COMBO2_TEXT, 0, 70, 25, 8
  166. COMBOBOX IDC_COMBO2, 28, 68,130, 60,
  167. CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED |
  168. WS_VSCROLL | WS_TABSTOP
  169. END
  170. IDR_PREFERENCES DIALOG DISCARDABLE 37, 68, 198, 102
  171. STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE |
  172. WS_CAPTION | WS_SYSMENU
  173. CAPTION "Preferences"
  174. FONT 8, APP_FONT
  175. BEGIN
  176. CONTROL "Stop &CD playing on exit",IDC_STOP_CD_ON_EXIT,"Button",
  177. BS_AUTOCHECKBOX | WS_TABSTOP,5,6,122,10
  178. CONTROL "&Save settings on exit",IDC_SAVE_ON_EXIT,"Button",
  179. BS_AUTOCHECKBOX | WS_TABSTOP,5,16,122,10
  180. CONTROL "Show &tool tips",IDC_SHOW_TOOLTIPS,"Button",
  181. BS_AUTOCHECKBOX | WS_TABSTOP,5,26,122,10
  182. LTEXT "&Intro play length (seconds)",IDC_STATIC,32,42,136,10
  183. EDITTEXT IDC_INTRO_PLAY_LEN, 5,40,24,12
  184. CONTROL "",IDC_INTRO_SPINBTN,"msctls_updown32",
  185. UDS_SETBUDDYINT | UDS_ALIGNRIGHT| WS_BORDER |
  186. UDS_AUTOBUDDY | UDS_ARROWKEYS,29,40,16,12
  187. GROUPBOX "Display font",IDC_STATIC,5,56,186,40,WS_GROUP
  188. CONTROL "[01] 00:00",IDC_LED_DISPLAY,"SJE_LEDClass",WS_GROUP,77,
  189. 65,107,27
  190. CONTROL "S&mall font",IDC_SMALL_FONT,"Button",BS_AUTORADIOBUTTON |
  191. WS_TABSTOP,11,70,64,10
  192. CONTROL "&Large font",IDC_LARGE_FONT,"Button",BS_AUTORADIOBUTTON,
  193. 11,80,64,10
  194. DEFPUSHBUTTON "OK",IDOK,152,6,40,14,WS_GROUP
  195. PUSHBUTTON "Cancel",IDCANCEL,152,23,40,14
  196. END
  197. STRINGTABLE {
  198. //
  199. // These strings are for the tool tips
  200. //
  201. IDM_OPTIONS_MULTI, "Multidisc Play"
  202. IDM_OPTIONS_RANDOM, "Random Track Order"
  203. IDM_OPTIONS_INTRO, "Intro Play"
  204. IDM_OPTIONS_CONTINUOUS, "Continuous Play"
  205. IDM_TIME_REMAINING, "Track Time Elapsed"
  206. IDM_TRACK_REMAINING, "Track Time Remaining"
  207. IDM_DISC_REMAINING, "Disc Time Remaining"
  208. IDM_DATABASE_EDIT, "Edit Play List"
  209. IDM_PLAYBAR_PLAY, "Play"
  210. IDM_PLAYBAR_PAUSE, "Pause"
  211. IDM_PLAYBAR_STOP, "Stop"
  212. IDM_PLAYBAR_PREVTRACK, "Previous Track"
  213. IDM_PLAYBAR_SKIPBACK, "Skip Backwards"
  214. IDM_PLAYBAR_SKIPFORE, "Skip Forwards"
  215. IDM_PLAYBAR_NEXTTRACK, "Next Track"
  216. IDM_PLAYBAR_EJECT, "Eject"
  217. IDM_PLAYBAR_RESUME, "Resume"
  218. //
  219. // These strings get displayed on the status line as the user cycles
  220. // through the menu options.
  221. //
  222. // Disc Menu
  223. STR_DATABASE_EDIT, "Change CD title, artist name, track names, or play order"
  224. STR_DATABASE_EXIT, "Quit CD Player"
  225. // View Menu
  226. STR_VIEW_TOOLBAR "Show or hide the toolbar"
  227. STR_VIEW_TRACKINFO "Show or hide the disc/track information"
  228. STR_VIEW_STATUS "Show or hide the status bar"
  229. STR_TIME_REMAINING, "Show the track time elapsed in the display"
  230. STR_TRACK_REMAINING, "Show the track time remaining in the display"
  231. STR_DISC_REMAINING, "Show the disc time remaining in the display"
  232. STR_VIEW_VOLUME, "View or change the sound volume"
  233. // Options Menu
  234. STR_OPTIONS_RANDOM, "Play the tracks in random order"
  235. STR_OPTIONS_MULTI, "Play the tracks from more than one CD"
  236. STR_OPTIONS_INTRO, "Start over once last track is done playing"
  237. STR_OPTIONS_CONTINUOUS, "Play the beginning of each track only"
  238. STR_OPTIONS_PREFERENCES, "Set preferences"
  239. // Help Menu
  240. STR_HELP_TOPICS "List Help Topics"
  241. STR_HELP_CONTENTS "List Help Contents"
  242. STR_HELP_USING "Help on using Help"
  243. STR_HELP_ABOUT "Display program information, version number, and copyright"
  244. // System Menu
  245. STR_SYSMENU_RESTORE "Restores the window to normal size"
  246. STR_SYSMENU_SIZE "Resizes the window"
  247. STR_SYSMENU_MOVE "Changes the window position"
  248. STR_SYSMENU_MINIMIZE "Reduces the window to an icon"
  249. STR_SYSMENU_MAXIMIZE "Expands the window to fill the screen"
  250. STR_SYSMENU_CLOSE "Closes the window and quits CD Player"
  251. #ifdef DAYTONA
  252. STR_SYSMENU_SWITCH "Switches to another task"
  253. #endif
  254. //
  255. // These strings are mostly error messages
  256. //
  257. #ifdef DAYTONA
  258. STR_REGISTRY_KEY, "Software\\Microsoft\\CdPlayer\\Settings"
  259. #endif
  260. STR_CDPLAYER, "CD Player"
  261. STR_TERMINATE, "A Problem occured while trying to start CD Player. The program cannot start."
  262. STR_BAD_DISC, "CD Player can no longer continue to play. There is either a problem with the disc or the disc has been removed."
  263. STR_FAIL_INIT, "Windows cannot start CD Player."
  264. STR_NO_CDROMS, "There is no CD-ROM player attached to this computer. CD Player cannot start."
  265. STR_FATAL_ERROR, "CD Player: Critical Problem"
  266. STR_SCANNING, "Scanning for CD-ROM drives..."
  267. STR_INITIALIZATION, "CD Player: Initialization"
  268. STR_TRACK1, "Trac&k %02d:"
  269. STR_SAVE_CHANGES, "Do you wish to save your changes?"
  270. STR_SAVE_INFO, "CD Player: Save Play Information"
  271. STR_CANCEL_PLAY, "You have selected to play a track on a drive different from the one currently playing.\n\nAre you sure you want to stop playing the current track and play the new track?"
  272. STR_RESCAN, "CD Player: Rescan Disc"
  273. STR_READING_TOC, "Reading Table of Contents for disc in drive %c:"
  274. STR_CHANGE_CDROM, "CD Player: Change CD-ROM Drives"
  275. STR_CDPLAYER_TIME, "%s - CD Player"
  276. STR_NO_RES, "Windows was unable to communicate with the CD-ROM drive connected to this computer. Another program might be using the CD-ROM drive. CD Player cannot start."
  277. STR_CDROM_INUSE, "The CD-ROM drive %c: is being used by another application.\nCD Player will not use this drive until it becomes available."
  278. STR_INSERT_DISC, "Please insert an audio compact disc."
  279. STR_DATA_NO_DISC, "Data or no disc loaded"
  280. STR_WAITING, "Waiting for the drive to become available"
  281. STR_DISC_INUSE, "This drive is in use"
  282. STR_ERR_GEN, "<%c:> %s: General Failure"
  283. STR_CDPLAYER_PAUSED, "%s - Paused"
  284. STR_EXIT_MESSAGE, "Your play preferences will be ignored until CD Player is restarted.\n\nAre you sure you want to exit CD Player?"
  285. STR_NOT_IN_PLAYLIST, "The track currently being played is not on the play list for this disc.\nCD Player will temporarily add this track to the start of the play list."
  286. STR_BEING_SCANNED, "This drive is being scanned"
  287. //#ifdef CHICAGO
  288. STR_DISK_NOT_THERE_K, "The disc '%s' by %s that you are trying to play is not inserted in the CD-ROM drive. Please insert the correct disc and try again"
  289. STR_DISK_NOT_THERE, "The disc that you are trying to play is not inserted in the CD-ROM drive. Please insert the correct disc and try again"
  290. //#endif
  291. //
  292. // The following strings are error messages from an old version
  293. // of CD Player. If we ever return to using Ioctls rather than Mci to
  294. // control the CD device we will need these strings.
  295. //
  296. #ifdef USE_IOCTLS
  297. STR_ERR_NO_MEDIA, "<%c:> No Media in Drive"
  298. STR_ERR_UNREC_MEDIA, "<%c:> Unrecognized Media"
  299. STR_ERR_NO_DEVICE, "%s: No such device (CdRom%d)!"
  300. STR_ERR_INV_DEV_REQ, "<%c:> Invalid Device Request"
  301. STR_ERR_NOT_READY, "<%c:> Device Not Ready!"
  302. STR_ERR_BAD_SEC, "<%c:> Sector Not Found"
  303. STR_ERR_IO_ERROR, "<%c:> Device I/O Error"
  304. STR_ERR_DEFAULT, "<%c:> %s failed, error = %d"
  305. STR_DISC_INSERT, "CdRom%d: ==> Disc was inserted <=="
  306. STR_DISC_EJECT, "CdRom%d: ==> Disc was ejected <=="
  307. #endif
  308. STR_TOTAL_PLAY, "Total Play: %02d%s%02d m%ss"
  309. STR_TRACK_PLAY, "Track: %02d%s%02d m%ss"
  310. STR_NEW_ARTIST, "New Artist"
  311. STR_NEW_TITLE, "New Title"
  312. STR_INIT_TRACK, "Track %d"
  313. STR_HDR_ARTIST, "Artist:"
  314. STR_HDR_TRACK, "Track:"
  315. STR_HDR_TITLE, "Title:"
  316. STR_UNKNOWN, "Unknown"
  317. STR_UNKNOWN_ARTIST, "Unknown Artist"
  318. STR_MCICDA_MISSING, "There is no MCICDA.DLL in the %s directory. CD Player cannot start.\n\nTry installing the MCI (CD Audio) service from the 'Multimedia' control panel, 'Devices' tab."
  319. STR_MCICDA_NOT_WORKING "The MCI (CD Audio) service or the CD-ROM driver is not responding. CD Player cannot start.\n\nCheck the 'Multimedia' control panel, 'Devices' tab to make sure the drivers are installed and active."
  320. }
  321. #ifdef APSTUDIO_INVOKED
  322. //////////////////////////////////////////////////////////////////////////////
  323. //
  324. // TEXTINCLUDE
  325. //
  326. 1 TEXTINCLUDE DISCARDABLE
  327. BEGIN
  328. "resource.h\0"
  329. END
  330. 2 TEXTINCLUDE DISCARDABLE
  331. BEGIN
  332. "#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
  333. "#include ""windows.h""\r\n"
  334. "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
  335. "\0"
  336. END
  337. 3 TEXTINCLUDE DISCARDABLE
  338. BEGIN
  339. "\r\n"
  340. "\0"
  341. END
  342. /////////////////////////////////////////////////////////////////////////////////////
  343. #endif // APSTUDIO_INVOKED
  344. #ifndef APSTUDIO_INVOKED
  345. ////////////////////////////////////////////////////////////////////////////////
  346. //
  347. // Generated from the TEXTINCLUDE 3 resource.
  348. //
  349. /////////////////////////////////////////////////////////////////////////////////////
  350. #endif // not APSTUDIO_INVOKED