wrc.doc 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. /*****************************************************************************\
  2. * Win32 Resource files grammar:
  3. *
  4. * Top level keywords/resource items:
  5. * nameID ACCELERATOR
  6. * [CHARACTERISTICS dword]
  7. * [LANGUAGE language, sublanguage]
  8. * [VERSION dword]
  9. * BEGIN
  10. * event, IDvalue [, type] [options]
  11. * ...
  12. * END
  13. *-------------
  14. * nameID BITMAP [loadmem] filename
  15. *-------------
  16. * nameID BITMAP [loadmem]
  17. * BEGIN
  18. * rawdata
  19. * END
  20. *-------------
  21. * nameID CURSOR [loadmem] filename
  22. *-------------
  23. * nameID CURSOR [loadmem]
  24. * BEGIN
  25. * rawdata
  26. * END
  27. *-------------
  28. * nameID DIALOG [loadmem] [EXSTYLE=extended-styles] x, y, width, height
  29. * [CAPTION "text"]
  30. * [CHARACTERISTICS dword]
  31. * [CLASS class]
  32. * [EXSTYLE=extended-styles]
  33. * [FONT pointsize, face]
  34. * [LANGUAGE language, sublanguage]
  35. * [MENU menuname]
  36. * [STYLE styles]
  37. * [VERSION dword]
  38. * BEGIN
  39. * [controls]
  40. * END
  41. *-------------
  42. * nameID DIALOGEX [loadmem] x, y, width, height [, helpID]
  43. * [CAPTION "text"]
  44. * [CHARACTERISTICS dword]
  45. * [CLASS class]
  46. * [EXSTYLE=extended-styles]
  47. * [FONT pointsize, face, weight, italic]
  48. * [LANGUAGE language, sublanguage]
  49. * [MENU menuname]
  50. * [STYLE styles]
  51. * [VERSION dword]
  52. * BEGIN
  53. * [controls]
  54. * END
  55. *-------------
  56. * nameID FONT [loadmem] filename
  57. *-------------
  58. * nameID ICON [loadmem] filename
  59. *-------------
  60. * nameID ICON [loadmem]
  61. * BEGIN
  62. * rawdata
  63. * END
  64. *-------------
  65. * LANGUAGE languageID, sublanguageID
  66. *-------------
  67. * nameID MENU [loadmem]
  68. * [CHARACTERISTICS dword]
  69. * [LANGUAGE language, sublanguage]
  70. * [VERSION dword]
  71. * BEGIN
  72. * [menuitems]
  73. * END
  74. *-------------
  75. * nameID MENUEX [loadmem]
  76. * [CHARACTERISTICS dword]
  77. * [LANGUAGE language, sublanguage]
  78. * [VERSION dword]
  79. * BEGIN
  80. * [menuexitems]
  81. * END
  82. *-------------
  83. * nameID MESSAGETABLE [loadmem] filename
  84. *-------------
  85. * nameID RCDATA [loadmem]
  86. * [CHARACTERISTICS dword]
  87. * [LANGUAGE language, sublanguage]
  88. * [VERSION dword]
  89. * BEGIN
  90. * [raw-data]
  91. * END
  92. *-------------
  93. * STRINGTABLE [loadmem]
  94. * [CHARACTERISTICS dword]
  95. * [LANGUAGE language, sublanguage]
  96. * [VERSION dword]
  97. * BEGIN
  98. * [stringID, "text"]
  99. * ...
  100. * END
  101. *-------------
  102. * versionID VERSIONINFO
  103. * FILEVERSION maj1, maj2, min1, min2
  104. * PRODUCTVERSION maj1, maj2, min1, min2
  105. * FILEFLAGSMASK (VS_FFI_FILEFLAGMASK)
  106. * FILEOS (VOS_*)
  107. * FILETYPE (VFT_*)
  108. * FILEFLAGS (VS_FF_*)
  109. * FILESUBTYPE (VFT2_*)
  110. * BEGIN
  111. * BLOCK "StringFileInfo"
  112. * BEGIN
  113. * BLOCK "language-charset"
  114. * BEGIN
  115. * [VALUE "Comments", "yep\0"]
  116. * VALUE "CompanyName", "Wine Developer Team\0"
  117. * VALUE "FileDescription", "Resource compiler\0"
  118. * VALUE "FileVersion", "0.01 alpha\0"
  119. * VALUE "InternalName", "winerc\0"
  120. * [VALUE "LegalCopyright", "Copyright (c) B.A. Stultiens 1998\0"]
  121. * [VALUE "LegalTrademarks", "...\0"]
  122. * VALUE "OriginalFilename", "winerc\0"
  123. * [VALUE "PrivateBuild", "Yes always!\0"
  124. * VALUE "ProductName", "Wine\0"
  125. * VALUE "ProductVersion", "0.01 alpha\0"
  126. * [VALUE "SpecialBuild", "No never! Well, maybe.\0"
  127. * END
  128. * END
  129. * BLOCK "VarFileInfo"
  130. * BEGIN
  131. * VALUE "Translation", languageID, charsetID
  132. * END
  133. * END
  134. *-------------
  135. * nameID typeID [loadmem] filename
  136. *-------------
  137. * nameID typeID [loadmem]
  138. * BEGIN
  139. * [raw-data]
  140. * END
  141. *
  142. *****************************************************************************
  143. *
  144. * Dialog controls:
  145. * CONTROL text, ID, class, style, x, y, width, height [, exstyle]
  146. *
  147. * LTEXT text, ID, x, y, width, height [, style [, exstyle]]
  148. * CTEXT text, ID, x, y, width, height [, style [, exstyle]]
  149. * RTEXT text, ID, x, y, width, height [, style [, exstyle]]
  150. *
  151. * ICON text, ID, x, y, [width, height , style [, exstyle]]
  152. *
  153. * EDITTEXT ID, x, y, width, height [, style [, exstyle]]
  154. *
  155. * AUTO3STATE text, ID, x, y, width, height [, style [, exstyle]]
  156. * AUTOCHECKBOX text, ID, x, y, width, height [, style [, exstyle]]
  157. * AUTORADIOBUTTON text, ID, x, y, width, height [, style [, exstyle]]
  158. * STATE3 text, ID, x, y, width, height [, style [, exstyle]]
  159. * CHECKBOX text, ID, x, y, width, height [, style [, exstyle]]
  160. * PUSHBUTTON text, ID, x, y, width, height [, style [, exstyle]]
  161. * RADIOBUTTON text, ID, x, y, width, height [, style [, exstyle]]
  162. * DEFPUSHBUTTON text, ID, x, y, width, height [, style [, exstyle]]
  163. *
  164. * COMBOBOX text, ID, x, y, width, height [, style [, exstyle]]
  165. * GROUPBOX text, ID, x, y, width, height [, style [, exstyle]]
  166. * LISTBOX text, ID, x, y, width, height [, style [, exstyle]]
  167. * SCROLLBAR text, ID, x, y, width, height [, style [, exstyle]]
  168. *
  169. * FIXME: This is documented, but I don't know the BS_PUSHBOX style
  170. * PUSHBOX text, ID, x, y, width, height [, style [, exstyle]]
  171. \*****************************************************************************/