IDFEDIT.RC
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:17k
源码类别:

Windows编程

开发平台:

Visual C++

  1. /*****************************************************************************
  2. *
  3. *  THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  4. *  ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED
  5. *  TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR
  6. *  A PARTICULAR PURPOSE.
  7. *
  8. *  Copyright (C) 1993 - 1997 Microsoft Corporation. All Rights Reserved.
  9. *
  10. *****************************************************************************/
  11. //Microsoft Visual C++ generated resource script.
  12. //
  13. #define APSTUDIO_READONLY_SYMBOLS
  14. /////////////////////////////////////////////////////////////////////////////
  15. //
  16. // Generated from the TEXTINCLUDE 2 resource.
  17. //
  18. #define APSTUDIO_HIDDEN_SYMBOLS
  19. #include "windows.h"
  20. #undef APSTUDIO_HIDDEN_SYMBOLS
  21. #include "res.h"
  22. /////////////////////////////////////////////////////////////////////////////
  23. #undef APSTUDIO_READONLY_SYMBOLS
  24. /////////////////////////////////////////////////////////////////////////////
  25. //
  26. // Icon
  27. //
  28. IDR_MAIN                ICON    DISCARDABLE     "idf.ico"
  29. IDR_INSTRUM             ICON    DISCARDABLE     "piano.ico"
  30. /////////////////////////////////////////////////////////////////////////////
  31. //
  32. // Menu
  33. //
  34. IDR_MAIN MENU DISCARDABLE 
  35. BEGIN
  36.     POPUP "&File"
  37.     BEGIN
  38.         MENUITEM "&New",                        IDM_FILENEW
  39.         MENUITEM "&Open...",                    IDM_FILEOPEN
  40.         MENUITEM "&Save",                       IDM_FILESAVE, GRAYED
  41.         MENUITEM "Save &As...",                 IDM_FILESAVEAS, GRAYED
  42.         MENUITEM SEPARATOR
  43.         MENUITEM "New Instrument",              IDM_NEW_INSTRUMENT
  44.         MENUITEM SEPARATOR
  45.         MENUITEM "E&xit",                       IDM_FILEEXIT
  46.     END
  47.     POPUP "&Edit"
  48.     BEGIN
  49.         MENUITEM "Cu&ttCtrl+X",                IDM_EDITCUT
  50.         MENUITEM "&CopytCtrl+C",               IDM_EDITCOPY
  51.         MENUITEM "&PastetCtrl+V",              IDM_EDITPASTE
  52.         MENUITEM "&DeletetDel",                IDM_EDITDELETE
  53.     END
  54.     POPUP "&Help"
  55.     BEGIN
  56.         MENUITEM "&About...",                   IDM_ABOUT
  57.     END
  58. END
  59. 2 MENU DISCARDABLE
  60. BEGIN
  61.     POPUP "&Object"
  62.     BEGIN
  63.         MENUITEM "&Edit",                       IDM_OBJEDIT
  64.         MENUITEM "&Copy",                       IDM_EDITCOPY
  65.         MENUITEM "&Paste",                      IDM_EDITPASTE
  66.     END
  67.     POPUP "&Stuff"
  68.     BEGIN
  69.         MENUITEM "&UndotCtrl+Z",               IDM_EDITUNDO
  70.         MENUITEM SEPARATOR
  71.         MENUITEM "Select &All",                 IDM_EDITSELECTALL
  72.     END
  73. END
  74. /////////////////////////////////////////////////////////////////////////////
  75. //
  76. // Accelerator
  77. //
  78. IDR_MAIN ACCELERATORS MOVEABLE PURE 
  79. BEGIN
  80.     VK_F1,          IDM_ABOUT,              VIRTKEY 
  81.     "Z",            IDM_EDITUNDO,           VIRTKEY, CONTROL
  82.     "X",            IDM_EDITCUT,            VIRTKEY, CONTROL
  83.     "C",            IDM_EDITCOPY,           VIRTKEY, CONTROL
  84.     "V",            IDM_EDITPASTE,          VIRTKEY, CONTROL
  85. END
  86. /////////////////////////////////////////////////////////////////////////////
  87. //
  88. // Dialog
  89. //
  90. IDD_ABOUT DIALOG DISCARDABLE  44, 13, 185, 67
  91. STYLE WS_POPUP | WS_DLGFRAME
  92. FONT 8, "MS Sans Serif"
  93. BEGIN
  94.     CTEXT           "Instrument Definition File Editor",103,40,5,105,10,NOT 
  95.                     WS_GROUP
  96.     DEFPUSHBUTTON   "OK",IDOK,70,50,45,10
  97.     ICON            IDR_MAIN,102,10,10,18,21
  98.     CTEXT           "Copyright (C) 1985 - 1996 Microsoft Corp.",106,20,35,145,
  99.                     10,NOT WS_GROUP
  100.     CTEXT           "Sample Application",104,60,15,65,10,NOT WS_GROUP
  101.     CTEXT           "for Microsoft Windows Version 4.0",105,30,25,135,10,NOT 
  102.                     WS_GROUP
  103. END
  104. IDD_LINEEDIT DIALOG DISCARDABLE  96, 20, 210, 60
  105. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  106. CAPTION "Edit"
  107. FONT 8, "MS Sans Serif"
  108. BEGIN
  109.     CONTROL         "",IDC_VALUELABEL,"Static",SS_LEFTNOWORDWRAP | WS_GROUP,6,5,197,8
  110.     CONTROL         "&Value",-1,"Static",SS_LEFTNOWORDWRAP | WS_GROUP,6,15,41,8
  111.     EDITTEXT        IDE_VALUE,6,23,197,12,ES_AUTOHSCROLL
  112.     DEFPUSHBUTTON   "OK",IDOK,53,40,44,14
  113.     PUSHBUTTON      "Cancel",IDCANCEL,113,40,44,14
  114. END
  115. #ifdef APSTUDIO_INVOKED
  116. /////////////////////////////////////////////////////////////////////////////
  117. //
  118. // TEXTINCLUDE
  119. //
  120. 1 TEXTINCLUDE DISCARDABLE 
  121. BEGIN
  122.     ""
  123. END
  124. 2 TEXTINCLUDE DISCARDABLE 
  125. BEGIN
  126.     "#define APSTUDIO_HIDDEN_SYMBOLSrn"
  127.     "#include ""windows.h""rn"
  128.     "#undef APSTUDIO_HIDDEN_SYMBOLSrn"
  129.     "#include ""res.h""rn"
  130.     ""
  131. END
  132. 3 TEXTINCLUDE DISCARDABLE 
  133. BEGIN
  134.     "#include ""idfedit.rcv""rn"
  135.     ""
  136. END
  137. /////////////////////////////////////////////////////////////////////////////
  138. #endif    // APSTUDIO_INVOKED
  139. /////////////////////////////////////////////////////////////////////////////
  140. //
  141. // Cursor
  142. //
  143. IDC_EDGE                CURSOR  DISCARDABLE     "slider.cur"
  144. /////////////////////////////////////////////////////////////////////////////
  145. //
  146. // String Table
  147. //
  148. STRINGTABLE DISCARDABLE 
  149. BEGIN
  150.     IDS_APPNAME             "IDFEdit"
  151.     IDS_OFN_EXT_DEF         "idf"
  152.     IDS_OFN_EXT_FILTER      "IDF files (*.idf)!*.idf!All files (*.*)!*.*!"
  153.     IDS_DEF_FILE_NAME       "<untitled>"
  154.     IDS_SAVE_CHANGES        "Do you wish to save the current changes?"
  155.     IDS_MESSAGE_BOX_TITLE   "Attention"
  156.     IDS_CHANNEL             "CHANNEL"
  157.     IDS_CAPTION_BAR         "IDF Edit"
  158.     IDS_QUERY_SAVE          "The file %s has changed.  Do you wish to save changes before  continuing?"
  159.     IDS_CHANNEL_TYPE_GENERAL "GENERAL"
  160.     IDS_CHANNEL_TYPE_DRUM   "DRUM"
  161.     IDS_CHANNEL_TYPE_LIGHTING "LIGHTING"
  162. END
  163. STRINGTABLE DISCARDABLE 
  164. BEGIN
  165.     IDS_TREE_LABEL          "Instrument"
  166.     IDS_VIEW_LABEL          "Definition Data"
  167.     IDS_YES                 "YES"
  168.     IDS_NO                  "NO"
  169.     IDS_GENERAL_INIT        "GENERAL INIT"
  170.     IDS_DRUM_INIT           "DRUM INIT"
  171.     IDS_IS_RTL              "0=rtl"
  172. END
  173. STRINGTABLE DISCARDABLE 
  174. BEGIN
  175.     IDS_ERR_REGCLASSES      "Failed to registr classes - exiting"
  176.     IDS_ERR_CREATEMAIN      "Failed to create main window - exiting"
  177.     IDS_ERR_MDICLIENT       "Failed to create MDI client - exiting"
  178.     IDS_ERR_NOHELP          "Help has not yet be implemented"
  179.     IDS_ERR_SAVE            "Can't save changes to %s"
  180.     IDS_ERR_READONLY        "%s is a Read Only File"
  181. END
  182. STRINGTABLE DISCARDABLE 
  183. BEGIN
  184.     IDFERR_BADREAD          "Could not read from the file."
  185.     IDFERR_NOMEM            "Could not allocate memory for application"
  186.     IDFERR_BADCHUNK         "The file has a bad chunk."
  187.     IDFERR_CANNOTCREATEFILE "IDF Edit cannot create this file."
  188.     IDFERR_CANNOTFINDCHUNK  "Cannot find necessary chunk in IDF file."
  189.     IDFERR_BADWRITE         "Could not write to the file."
  190.     IDFERR_BADNUMBER        "The number entered is invalid."
  191.     IDFERR_CANNOTCREATECHUNK "IDF Edit cannot create new chunk."
  192. END
  193. STRINGTABLE DISCARDABLE 
  194. BEGIN
  195.     IDS_BAD_HEX_INPUT       "Invalid hex string entered."
  196. END
  197. STRINGTABLE DISCARDABLE 
  198. BEGIN
  199.     100                     "IDF Header"
  200.     101                     "IDF Instrument Info"
  201.     102                     "IDF Instrument Caps"
  202.     103                     "IDF Channel Capabilities"
  203.     104                     "IDF Patch Maps"
  204.     105                     "IDF Key Maps"
  205. END
  206. STRINGTABLE DISCARDABLE 
  207. BEGIN
  208.     IDS_TITLE_BAR_HEADER    "IDF Header!"
  209.     IDS_TITLE_BAR_INSTINFO  "Instrument Information!"
  210.     IDS_TITLE_BAR_INSTCAPS  "Instrument Capabilities!"
  211.     IDS_TITLE_BAR_CHANNELS  "Channels!Types"
  212.     IDS_TITLE_BAR_PATCHES   "General MIDI Patches!Instrument Patches"
  213.     IDS_TITLE_BAR_KEYMAPS   "General MIDI Key Maps!Instrument Key Maps"
  214. END
  215. STRINGTABLE DISCARDABLE 
  216. BEGIN
  217.     200                     "Version"
  218.     201                     "Creator"
  219. END
  220. STRINGTABLE DISCARDABLE 
  221. BEGIN
  222.     300                     "Manufacturer's Name"
  223.     301                     "Product Name"
  224.     302                     "Manufacturer's ID"
  225.     303                     "Product ID"
  226. END
  227. STRINGTABLE DISCARDABLE 
  228. BEGIN
  229.     304                     "Revision"
  230. END
  231. STRINGTABLE DISCARDABLE 
  232. BEGIN
  233.     400                     "Base Channel"
  234.     401                     "Number of Channels"
  235.     402                     "Instrument's Polyphony"
  236.     403                     "Channel Polyphony"
  237.     404                     "Supports General MIDI"
  238.     405                     "SysEx Support"
  239. END
  240. STRINGTABLE DISCARDABLE 
  241. BEGIN
  242.     500                     "Acoustic Grand Piano"
  243.     501                     "Bright Acoustic Piano"
  244.     502                     "Electric Grand Piano"
  245.     503                     "Honky-tonk Piano"
  246.     504                     "Rhodes Piano"
  247.     505                     "Chorused Piano"
  248.     506                     "Harpsichord"
  249.     507                     "Clavinet"
  250.     508                     "Celesta"
  251.     509                     "Glockenspiel"
  252.     510                     "Music Box"
  253.     511                     "Vibraphone"
  254. END
  255. STRINGTABLE DISCARDABLE 
  256. BEGIN
  257.     512                     "Marimba"
  258.     513                     "Xylophone"
  259.     514                     "Tubular Bells"
  260.     515                     "Dulcimer"
  261.     516                     "Hammond Organ"
  262.     517                     "Percussive Organ"
  263.     518                     "Rock Organ"
  264.     519                     "Church Organ"
  265.     520                     "Reed Organ"
  266.     521                     "Accordion"
  267.     522                     "Harmonica"
  268.     523                     "Tango Accordion"
  269.     524                     "Acoustic Guitar (nylon)"
  270.     525                     "Acoustic Guitar (steel)"
  271.     526                     "Electric Guitar (jazz)"
  272.     527                     "Electric Guitar (clean)"
  273. END
  274. STRINGTABLE DISCARDABLE 
  275. BEGIN
  276.     528                     "Electric Guitar (muted)"
  277.     529                     "Overdriven Guitar"
  278.     530                     "Distortion Guitar"
  279.     531                     "Guitar Harmonics"
  280.     532                     "Acoustic Bass"
  281.     533                     "Electric Bass (fingered)"
  282.     534                     "Electric Bass (picked)"
  283.     535                     "Fretless Bass"
  284.     536                     "Slap Bass 1"
  285.     537                     "Slap Bass 2"
  286.     538                     "Synth Bass 1"
  287.     539                     "Synth Bass 2"
  288.     540                     "Violin"
  289.     541                     "Viola"
  290.     542                     "Cello"
  291.     543                     "Contrabass"
  292. END
  293. STRINGTABLE DISCARDABLE 
  294. BEGIN
  295.     544                     "Tremolo Strings"
  296.     545                     "Pizzicato Strings"
  297.     546                     "Orchestral Harp"
  298.     547                     "Timpani"
  299.     548                     "String Ensemble 1"
  300.     549                     "String Ensemble 2"
  301.     550                     "Synth Strings 1"
  302.     551                     "Synth Strings 2"
  303.     552                     "Choir Aahs"
  304.     553                     "Voice Oohs"
  305.     554                     "Synth Voice"
  306.     555                     "Orchestra Hit"
  307.     556                     "Trumpet"
  308.     557                     "Trombone"
  309.     558                     "Tuba"
  310.     559                     "Muted Trumpet"
  311. END
  312. STRINGTABLE DISCARDABLE 
  313. BEGIN
  314.     560                     "French Horn"
  315.     561                     "Brass Section"
  316.     562                     "Synth Brass 1"
  317.     563                     "Synth Brass 2"
  318.     564                     "Soprano Sax"
  319.     565                     "Alto Sax"
  320.     566                     "Tenor Sax"
  321.     567                     "Baritone Sax"
  322.     568                     "Oboe"
  323.     569                     "English Horn"
  324.     570                     "Bassoon"
  325.     571                     "Clarinet"
  326.     572                     "Piccolo"
  327.     573                     "Flute"
  328.     574                     "Recorder"
  329.     575                     "Pan Flute"
  330. END
  331. STRINGTABLE DISCARDABLE 
  332. BEGIN
  333.     576                     "Blown Bottle"
  334.     577                     "Shakuhachi"
  335.     578                     "Whistle"
  336.     579                     "Ocarina"
  337.     580                     "Lead 1 (square)"
  338.     581                     "Lead 2 (sawtooth)"
  339.     582                     "Lead 3 (calliope)"
  340.     583                     "Lead 4 (chiff)"
  341.     584                     "Lead 5 (charang)"
  342.     585                     "Lead 6 (voice)"
  343.     586                     "Lead 7 (fifths)"
  344.     587                     "Lead 8 (bass + lead)"
  345.     588                     "Pad 1 (new age)"
  346.     589                     "Pad 2 (warm)"
  347.     590                     "Pad 3 (polysynth)"
  348.     591                     "Pad 4 (choir)"
  349. END
  350. STRINGTABLE DISCARDABLE 
  351. BEGIN
  352.     592                     "Pad 5 (bowed)"
  353.     593                     "Pad 6 (metallic)"
  354.     594                     "Pad 7 (halo)"
  355.     595                     "Pad 8 (sweep)"
  356.     596                     "FX 1 (rain)"
  357.     597                     "FX 2 (soundtrack)"
  358.     598                     "FX 3 (crystal)"
  359.     599                     "FX 4 (atmosphere)"
  360.     600                     "FX 5 (brightness)"
  361.     601                     "FX 6 (goblins)"
  362.     602                     "FX 7 (echoes)"
  363.     603                     "FX 8 (sci-fi)"
  364.     604                     "Sitar"
  365.     605                     "Banjo"
  366.     606                     "Shamisen"
  367.     607                     "Koto"
  368. END
  369. STRINGTABLE DISCARDABLE 
  370. BEGIN
  371.     608                     "Kalimba"
  372.     609                     "Bagpipe"
  373.     610                     "Fiddle"
  374.     611                     "Shanai"
  375.     612                     "Tinkle Bell"
  376.     613                     "Agogo"
  377.     614                     "Steel Drums"
  378.     615                     "Woodblock"
  379.     616                     "Taiko Drum"
  380.     617                     "Melodic Tom"
  381.     618                     "Synth Drum"
  382.     619                     "Reverse Cymbal"
  383.     620                     "Guitar Fret Noise"
  384.     621                     "Breath Noise"
  385.     622                     "Seashore"
  386.     623                     "Bird Tweet"
  387. END
  388. STRINGTABLE DISCARDABLE 
  389. BEGIN
  390.     624                     "Telephone Ring"
  391.     625                     "Helicopter"
  392.     626                     "Applause"
  393.     627                     "Gunshot"
  394. END
  395. STRINGTABLE DISCARDABLE 
  396. BEGIN
  397.     735                     "Acoustic Bass Drum"
  398. END
  399. STRINGTABLE DISCARDABLE 
  400. BEGIN
  401.     736                     "Bass Drum 1"
  402.     737                     "Side Stick"
  403.     738                     "Acoustic Snare"
  404.     739                     "Hand Clap"
  405.     740                     "Electric Snare"
  406.     741                     "Low Floor Tom"
  407.     742                     "Closed Hi Hat"
  408.     743                     "High Floor Tom"
  409.     744                     "Pedal Hi Hat"
  410.     745                     "Low Tom"
  411.     746                     "Open Hi Hat"
  412.     747                     "Low-Mid Tom"
  413.     748                     "High-Mid Tom"
  414.     749                     "Crash Cymbal 1"
  415.     750                     "High Tom"
  416.     751                     "Ride Cymbal 1"
  417. END
  418. STRINGTABLE DISCARDABLE 
  419. BEGIN
  420.     752                     "Chinese Cymbal"
  421.     753                     "Ride Bell"
  422.     754                     "Tambourine"
  423.     755                     "Splash Cymbal"
  424.     756                     "Cowbell"
  425.     757                     "Crash Cymbal 2"
  426.     758                     "Vibraslap"
  427.     759                     "Ride Cymbal 2"
  428.     760                     "High Bongo"
  429.     761                     "Low Bongo"
  430.     762                     "Mute High Conga"
  431.     763                     "Open High Conga"
  432.     764                     "Low Conga"
  433.     765                     "High Timbale"
  434.     766                     "Low Timbale"
  435.     767                     "High Agogo"
  436. END
  437. STRINGTABLE DISCARDABLE 
  438. BEGIN
  439.     768                     "Low Agogo"
  440.     769                     "Cabase"
  441.     770                     "Maracas"
  442.     771                     "Short Whistle"
  443.     772                     "Long Whistle"
  444.     773                     "Short Guiro"
  445.     774                     "Long Guiro"
  446.     775                     "Claves"
  447.     776                     "High Wood Block"
  448.     777                     "Low Wood Block"
  449.     778                     "Mute Cuica"
  450.     779                     "Open Cuica"
  451.     780                     "Mute Triangle"
  452.     781                     "Open Triangle"
  453. END
  454. #ifndef APSTUDIO_INVOKED
  455. /////////////////////////////////////////////////////////////////////////////
  456. //
  457. // Generated from the TEXTINCLUDE 3 resource.
  458. //
  459. #include "idfedit.rcv"
  460. /////////////////////////////////////////////////////////////////////////////
  461. #endif    // not APSTUDIO_INVOKED