home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / graphics / audio / idfedit / res.h < prev    next >
C/C++ Source or Header  |  1997-10-05  |  6KB  |  167 lines

  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. //**  res.h
  11. //**
  12. //**  DESCRIPTION:
  13. //**
  14. //**
  15. //**  HISTORY:
  16. //**     04/22/93       created.
  17. //**
  18. //************************************************************************
  19.  
  20. #ifndef RES_H
  21. #define RES_H
  22.  
  23. #define IDR_MAIN             1
  24. #define IDR_INSTRUM          2
  25.  
  26. #define IDC_EDGE             3
  27.  
  28. #define IDD_LINEEDIT         97
  29. #define IDD_IDFEDITDLG       98
  30. #define IDD_ABOUT            99
  31.  
  32. //
  33. // MENU DEFINITIONS
  34. //
  35. #define  IDM_FILE_BASE        (100)
  36. #define  IDM_FILENEW          (IDM_FILE_BASE)
  37. #define  IDM_FILEOPEN         (IDM_FILE_BASE + 1)
  38. #define  IDM_FILESAVE         (IDM_FILE_BASE + 2)
  39. #define  IDM_FILESAVEAS       (IDM_FILE_BASE + 3)
  40. #define  IDM_NEW_INSTRUMENT   (IDM_FILE_BASE + 6)
  41. #define  IDM_FILEEXIT         (IDM_FILE_BASE + 9)
  42.  
  43. #define  IDM_EDIT_BASE        (200)
  44. #define  IDM_EDITUNDO         (IDM_EDIT_BASE + 1)
  45. #define  IDM_EDITCUT          (IDM_EDIT_BASE + 2)
  46. #define  IDM_EDITCOPY         (IDM_EDIT_BASE + 3)
  47. #define  IDM_EDITPASTE        (IDM_EDIT_BASE + 4)
  48. #define  IDM_EDITDELETE       (IDM_EDIT_BASE + 5)
  49. #define  IDM_EDITSELECTALL    (IDM_EDIT_BASE + 6)
  50.  
  51.  
  52. #define  IDM_WINDOW_BASE      (300)
  53. #define  IDM_TILE             (IDM_WINDOW_BASE)
  54. #define  IDM_CASCADE          (IDM_WINDOW_BASE + 1)
  55. #define  IDM_ARRANGEICONS     (IDM_WINDOW_BASE + 2)
  56. #define  IDM_MDIFIRSTCHILD    (IDM_WINDOW_BASE + 10)
  57.  
  58. #define  IDM_OPTIONS_BASE     (700)
  59.  
  60. #define  IDM_OBJECT_BASE      (800)
  61. #define  IDM_OBJEDIT          (IDM_OBJECT_BASE)
  62.  
  63. #define  IDM_HELP_BASE        (900)
  64. #define  IDM_HELP             (IDM_HELP_BASE)
  65. #define  IDM_ABOUT            (IDM_HELP_BASE + 9)
  66.  
  67. //
  68. // jmk
  69. //
  70. #define  IDS_ERR_REGCLASSES   64
  71. #define  IDS_ERR_CREATEMAIN   65
  72. #define  IDS_ERR_MDICLIENT    66
  73. #define  IDS_ERR_NOHELP       67
  74. #define  IDS_ERR_SAVE         68
  75. #define  IDS_ERR_READONLY     69
  76.  
  77. //
  78. // STRING TABLE DEFINITIONS
  79. //
  80. #define  STRINGTABLE_BASE           (0)
  81. #define  IDS_APPNAME                (STRINGTABLE_BASE + 1)
  82. #define  IDS_OFN_EXT_DEF            (STRINGTABLE_BASE + 2)
  83. #define  IDS_OFN_EXT_FILTER         (STRINGTABLE_BASE + 3)
  84. #define  IDS_DEF_FILE_NAME          (STRINGTABLE_BASE + 4)
  85. #define  IDS_SAVE_CHANGES           (STRINGTABLE_BASE + 5)
  86. #define  IDS_MESSAGE_BOX_TITLE      (STRINGTABLE_BASE + 6)
  87. #define  IDS_CHANNEL                (STRINGTABLE_BASE + 7)
  88. #define  IDS_CAPTION_BAR            (STRINGTABLE_BASE + 8)
  89. #define  IDS_QUERY_SAVE             (STRINGTABLE_BASE + 9)
  90.  
  91. #define  IDS_CHANNEL_TYPE_BASE      (STRINGTABLE_BASE + 10)
  92. #define  IDS_CHANNEL_TYPE_GENERAL   (IDS_CHANNEL_TYPE_BASE + 0)
  93. #define  IDS_CHANNEL_TYPE_DRUM      (IDS_CHANNEL_TYPE_BASE + 1)
  94. #define  IDS_CHANNEL_TYPE_LIGHTING  (IDS_CHANNEL_TYPE_BASE + 2)
  95.  
  96. #define  IDS_TREE_LABEL             (STRINGTABLE_BASE + 16)
  97. #define  IDS_VIEW_LABEL             (STRINGTABLE_BASE + 17)
  98.  
  99. #define  IDS_YES                    (STRINGTABLE_BASE + 20)
  100. #define  IDS_NO                     (STRINGTABLE_BASE + 21)
  101.  
  102. #define  IDS_GENERAL_INIT           (STRINGTABLE_BASE + 22)
  103. #define  IDS_DRUM_INIT              (STRINGTABLE_BASE + 23)
  104. #define  IDS_IS_RTL                 (STRINGTABLE_BASE + 24)
  105. //
  106. // ERROR VALUES
  107. //
  108. #define  IDFERR_BASE                (STRINGTABLE_BASE + 50)
  109. #define  IDFERR_BADREAD             (IDFERR_BASE + 0)
  110. #define  IDFERR_NOMEM               (IDFERR_BASE + 1)
  111. #define  IDFERR_BADCHUNK            (IDFERR_BASE + 2)
  112. #define  IDFERR_CANNOTCREATEFILE    (IDFERR_BASE + 3)
  113. #define  IDFERR_CANNOTFINDCHUNK     (IDFERR_BASE + 4)
  114. #define  IDFERR_BADWRITE            (IDFERR_BASE + 5)
  115. #define  IDFERR_BADNUMBER           (IDFERR_BASE + 6)
  116. #define  IDFERR_CANNOTCREATECHUNK   (IDFERR_BASE + 7)
  117.  
  118. #define  IDS_BAD_HEX_INPUT          (IDFERR_BASE+30)
  119.  
  120. #define  IDS_SECTION_NAME_BASE   (STRINGTABLE_BASE + 100)
  121.  
  122. #define  IDS_TITLE_BAR_BASE      (STRINGTABLE_BASE + 150)
  123. #define  IDS_TITLE_BAR_HEADER    (IDS_TITLE_BAR_BASE + 0)
  124. #define  IDS_TITLE_BAR_INSTINFO  (IDS_TITLE_BAR_BASE + 1)
  125. #define  IDS_TITLE_BAR_INSTCAPS  (IDS_TITLE_BAR_BASE + 2)
  126. #define  IDS_TITLE_BAR_CHANNELS  (IDS_TITLE_BAR_BASE + 3)
  127. #define  IDS_TITLE_BAR_PATCHES   (IDS_TITLE_BAR_BASE + 4)
  128. #define  IDS_TITLE_BAR_KEYMAPS   (IDS_TITLE_BAR_BASE + 5)
  129.  
  130. #define  IDS_HEADER_BASE         (STRINGTABLE_BASE + 200)
  131.  
  132. #define  IDS_INST_BASE           (STRINGTABLE_BASE + 300)
  133.  
  134. #define  IDS_CAPS_BASE           (STRINGTABLE_BASE + 400)
  135.  
  136.  
  137. #define  GENERAL_PATCH           (STRINGTABLE_BASE + 500)
  138. #define  DRUM_KEY                (STRINGTABLE_BASE + 700)
  139.  
  140. // 
  141. // DIALOG INCLUDE FILE's
  142. //
  143. #define  IDL_INSTRUMENTS         1001
  144. #define  IDC_CURRENT_INSTRUM     1002
  145.  
  146. // drawstr's editing dialog
  147. //
  148. #define IDE_VALUE            11
  149. #define IDC_VALUELABEL       12
  150.  
  151.  
  152. // obsolete
  153. //
  154. #define ID_CURRENT_INSTRUMENT       1102
  155. #define ID_PREVIOUS_INSTRUMENT      1103
  156. #define ID_NEXT_INSTRUMENT          1104
  157. #define ID_IDF_CURRENT_SECTION      1101
  158. #define ID_EDIT_BOX                 1106
  159. #define ID_HEADER_TEXT_LEFT         1107
  160. #define ID_LIST_BOX                 1109
  161. #define ID_HEADER_TEXT_RIGHT        1108
  162. #define ID_INSTRUMENT_SCROLL        1110
  163. #define ID_DRUM_CHANNELS            1111
  164. #define ID_EDIT_ENTER               1105
  165.  
  166. #endif
  167.