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.

358 lines
17 KiB

  1. //
  2. // ARP resource file
  3. //
  4. #include "resource.h"
  5. #include <directuipp.h>
  6. /*****************************************************
  7. * Element resources
  8. *****************************************************/
  9. //
  10. // ARP frame
  11. //
  12. <arpframe resid=main id=atom(frame) sheet=styleref(frame) layout=borderlayout()>
  13. <element id=atom(closepane) sheet=styleref(closepane) layoutpos=bottom layout=borderlayout()>
  14. <button id=atom(close) layoutpos=right Shortcut=rcchar(IDS_SHORTCUTCLOSE) accessible=true accRole=43 accName= rcstr(IDS_CLOSE) content=rcstr(IDS_CLOSE) />
  15. </element>
  16. <ARPSelector id=atom(optionlist) sheet=styleref(optionpane) layout=borderlayout() contentalign=wrapcenter>
  17. <button id=atom(change) layoutpos=top accessible=true accRole=43 accName=rcstr(IDS_CHANGEORREMOVEP) layout=borderlayout()>
  18. <element layoutpos=top content=rcbmp(IDB_ARP0)/>
  19. <element layoutpos=bottom Shortcut=rcchar(IDS_SHORTCUTCHANE) content=rcstr(IDS_CHANGEORREMOVEP) />
  20. </button>
  21. <button id=atom(addnew) accessible=true accRole=43 accName=rcstr(IDS_ADDPROGRAMS) layoutpos=top layout=borderlayout()>
  22. <element layoutpos=top content=rcbmp(IDB_ARP1)/>
  23. <element layoutpos=bottom Shortcut=rcchar(IDS_SHORTCUTADD) content=rcstr(IDS_ADDPROGRAMS) />
  24. </button>
  25. <button id=atom(addrmwin) accessible=true accRole=43 accName=rcstr(IDS_ADDREMOVEWINDOWS) layoutpos=top layout=borderlayout()>
  26. <element layoutpos=top content=rcbmp(IDB_ARP2)/>
  27. <element layoutpos=bottom Shortcut=rcchar(IDS_SHORTCUTWINDOWS) content=rcstr(IDS_ADDREMOVEWINDOWS)/>
  28. </button>
  29. </ARPSelector>
  30. <element id=atom(contentpane) sheet=styleref(contentpane) layoutpos=client layout=borderlayout()>
  31. <element id=atom(changepane) layoutpos=client layout=borderlayout()>
  32. <element id=atom(changecontentheader) layout=borderlayout() layoutpos=top>
  33. <element id=atom(label) layoutpos=left accessible=true accRole=41 accName=rcstr(IDS_CURRENTINSTALLED) content=rcstr(IDS_CURRENTINSTALLED) />
  34. <element id=atom(sort) layout=borderlayout() layoutpos=right>
  35. <element Shortcut=rcchar(IDS_SHORTCUTSORT) layoutpos=left accessible=true accRole=41 accName=rcstr(IDS_SORTBY) content=rcstr(IDS_SORTBY) />
  36. <combobox id=atom(sortcombo) accessible=true accRole=46 accName=rcstr(IDS_SORTBY) layoutpos=right width=rcint(IDS_SORTBY_WIDTH) />
  37. </element>
  38. </element>
  39. <element id=atom(installedlistcontainer) layoutpos=client layout=borderlayout()>
  40. <scrollviewer id=atom(listscroller) sheet=styleref(listscroller) layoutpos=client xscrollable=false>
  41. <selector id=atom(installeditemlist) sheet=styleref(itemlist) layout=borderlayout()/>
  42. </scrollviewer>
  43. </element>
  44. </element>
  45. <element id=atom(addnewpane) layoutpos=none layout=borderlayout()>
  46. <element id=atom(addfromCDPane) layout=borderlayout() layoutpos=top>
  47. <element layoutpos=top accessible=true accRole=41 accName=rcstr(IDS_ADDFROMCD) content=rcstr(IDS_ADDFROMCD)></element>
  48. <element layoutpos=top layout=borderlayout()>
  49. <element layoutpos=left content=rcbmp(IDB_ARP0)/>
  50. <element layoutpos=client accessible=true accRole=41 accName=rcstr(IDS_CDHELP) contentalign=wrapleft content=rcstr(IDS_CDHELP) />
  51. <element layoutpos=right layout=borderlayout()>
  52. <button layoutpos=top id=atom(addfromdisk) accessible=true accRole=43 accName=rcstr(IDS_CDORFLOPPY) Shortcut=rcchar(IDS_SHORTCUTCDORFLOPPY) content=rcstr(IDS_CDORFLOPPY) />
  53. </element>
  54. </element>
  55. </element>
  56. <element id=atom(addfromMSpane) layout=borderlayout() layoutpos=top>
  57. <element layoutpos=top accessible=true accRole=41 accName=rcstr(IDS_ADDFROMMS) content=rcstr(IDS_ADDFROMMS)></element>
  58. <element layoutpos=top layout=borderlayout()>
  59. <element layoutpos=left content=rcbmp(IDB_ARP3)/>
  60. <element layoutpos=client accessible=true accRole=41 accName=rcstr(IDS_ADDWUPDATEHELP) contentalign=wrapleft content=rcstr(IDS_ADDWUPDATEHELP) />
  61. <element layoutpos=right layout=borderlayout()>
  62. <button layoutpos=top id=atom(addfrommsft) accessible=true accRole=43 accName=rcstr(IDS_WINDOWSUPDATE) Shortcut=rcchar(IDS_SHORTCUTWINUPDATE) content=rcstr(IDS_WINDOWSUPDATE) />
  63. </element>
  64. </element>
  65. </element>
  66. <element id=atom(addfromNetworkpane) layout=borderlayout() layoutpos=client>
  67. <element id=atom(addcontentheader) layout=borderlayout() layoutpos=top>
  68. <element id=atom(label) accessible=true accRole=41 accName=rcstr(IDS_ADDFROMNETWORK) layoutpos=left content=rcstr(IDS_ADDFROMNETWORK) />
  69. <element layout=borderlayout() layoutpos=right>
  70. <element id=atom(categorylabel) layoutpos=left Shortcut=rcchar(IDS_SHORTCUTCATEGORY) accessible=true accRole=41 accName=rcstr(IDS_GATEGORY) content=rcstr(IDS_GATEGORY) />
  71. <combobox id=atom(categorycombo) accessible=true accRole=46 accName=rcstr(IDS_GATEGORY) layoutpos=right width=127 />
  72. </element>
  73. </element>
  74. <element id=atom(publishedlistcontainer) layoutpos=client layout=borderlayout()>
  75. <scrollviewer id=atom(listscroller) sheet=styleref(listscroller) layoutpos=client xscrollable=false>
  76. <selector id=atom(publisheditemlist) sheet=styleref(itemlist) accessible=true accRole=41 accName=rcstr(IDS_WAITFEEDBACK) content=rcstr(IDS_WAITFEEDBACK) contentalign=wrapleft layout=borderlayout()/>
  77. </scrollviewer>
  78. </element>
  79. </element>
  80. </element>
  81. <element id=atom(addrmwinpane) layoutpos=none layout=filllayout()>
  82. <element id=atom(addrmwinoc) layout=borderlayout()>
  83. <element id=atom(addwincomponent) layout=borderlayout() layoutpos=top>
  84. <element layoutpos=top accessible=true accRole=41 accName=rcstr(IDS_ADDREMOVEWIN) content=rcstr(IDS_ADDREMOVEWIN)></element>
  85. <element layoutpos=top layout=borderlayout()>
  86. <element layoutpos=left content=rcbmp(IDB_ARP0)/>
  87. <element layoutpos=client accessible=true accRole=41 accName=rcstr(IDS_WINHELP) contentalign=wrapleft content=rcstr(IDS_WINHELP) />
  88. <element layoutpos=right layout=borderlayout()>
  89. <button layoutpos=top accessible=true accRole=41 accName=rcstr(IDS_COMPONENTS) id=atom(components) content=rcstr(IDS_COMPONENTS) />
  90. </element>
  91. </element>
  92. </element>
  93. <element id=atom(sevicespane) layout=borderlayout() layoutpos=client>
  94. <element id=atom(servicecontentheader) layout=borderlayout() layoutpos=top>
  95. <element id=atom(label) layoutpos=left accessible=true accRole=41 accName=rcstr(IDS_SERVICELABEL) content=rcstr(IDS_SERVICELABEL) />
  96. </element>
  97. <element id=atom(ocsetuplistcontainer) layoutpos=client layout=borderlayout()>
  98. <scrollviewer id=atom(listscroller) sheet=styleref(listscroller) layoutpos=client xscrollable=false>
  99. <selector id=atom(ocsetupitemlist) sheet=styleref(itemlist) layout=borderlayout()/>
  100. </scrollviewer>
  101. </element>
  102. </element>
  103. </element>
  104. </element>
  105. </element>
  106. </arpframe>
  107. //
  108. // ARP installed item template
  109. //
  110. <arpitem resid=installeditem layoutpos=top layout=borderlayout()>
  111. <element id=atom(icon) layoutpos=left content=rcbmp(IDB_ARPX)/>
  112. <element layoutpos=top layout=borderlayout()>
  113. <element Layout=RowLayout(22,1,3) id=atom(row1) layoutpos=right contentalign=topright enabled=false>
  114. <element id=atom(sizelabel) accessible=true accRole=41 accName=rcstr(IDS_SIZELABEL) content=rcstr(IDS_SIZELABEL) />
  115. <button id=atom(size) />
  116. </element>
  117. <element id=atom(title) layoutpos=left contentalign=wrapleft/>
  118. </element>
  119. <element id=atom(exinfo) layoutpos=none layout=borderlayout()>
  120. <element layoutpos=top layout=borderlayout()>
  121. <element layout=flowlayout(0) layoutpos=client>
  122. <button id=atom(supinfo) accessible=true accRole=41 accName=rcstr(IDS_SUPPORT) content=rcstr(IDS_SUPPORT) />
  123. </element>
  124. <element Layout=RowLayout(22,1,3) id=atom(row2) layoutpos=right contentalign=wrapright>
  125. <element id=atom(freqlabel) accessible=true accRole=41 accName=rcstr(IDS_FREQUENCYLABEL) content=rcstr(IDS_FREQUENCYLABEL) />
  126. <button id=atom(freq) />
  127. </element>
  128. </element>
  129. <element Layout=BorderLayout() layoutpos=top>
  130. <element Layout=RowLayout(22,1,3) id=atom(row3) contentalign=wrapright layoutpos=right>
  131. <element id=atom(lastlabel) accessible=true accRole=41 accName=rcstr(IDS_LASTUSEDLABEL) content=rcstr(IDS_LASTUSEDLABEL) />
  132. <element id=atom(lastused) />
  133. </element>
  134. </element>
  135. <element id=atom(instruct) layoutpos=client contentalign=wrapleft/>
  136. // Action templates parented here
  137. <element id=atom(itemaction) sheet=styleref(itemaction) layoutpos=right layout=borderlayout()/>
  138. </element>
  139. </arpitem>
  140. //
  141. // ARP published item template
  142. //
  143. <arpitem resid=publisheditem layoutpos=top layout=borderlayout()>
  144. <element id=atom(icon) layoutpos=left content=rcbmp(IDB_ARPX)/>
  145. <element layoutpos=top layout=borderlayout()>
  146. <element id=atom(title) layoutpos=left contentalign=wrapleft/>
  147. <element id=atom(installed) layoutpos=right contentalign=topright/>
  148. </element>
  149. <element id=atom(exinfo) layoutpos=none layout=borderlayout()>
  150. <element id=atom(instruct) layoutpos=client accessible=true accRole=41 accName=rcstr(IDS_ADDHELP) content=rcstr(IDS_ADDHELP) contentalign=wrapleft/>
  151. <element id=atom(itemaction) sheet=styleref(itemaction) layoutpos=right layout=borderlayout()/>
  152. </element>
  153. </arpitem>
  154. //
  155. // ARP OCSetup item template
  156. //
  157. <arpitem resid=ocsetupitem layoutpos=top layout=borderlayout()>
  158. <element id=atom(icon) layoutpos=left content=rcbmp(IDB_ARPX1)/>
  159. <element layoutpos=top layout=borderlayout()>
  160. <element id=atom(title) layoutpos=left contentalign=wrapleft/>
  161. </element>
  162. <element id=atom(exinfo) layoutpos=none layout=borderlayout()>
  163. <element id=atom(instruct) layoutpos=top accessible=true accRole=41 accName=rcstr(IDS_OCSETUPHELP) content=rcstr(IDS_OCSETUPHELP) contentalign=wrapleft/>
  164. <element id=atom(warning) layoutpos=top accessible=true accRole=41 accName=rcstr(IDS_OCSETUPWARNING) content=rcstr(IDS_OCSETUPWARNING) contentalign=wrapleft/>
  165. <element id=atom(itemaction) sheet=styleref(itemaction) layoutpos=right layout=borderlayout()/>
  166. </element>
  167. </arpitem>
  168. //
  169. // ARP Item option buttons templates
  170. //
  171. <element resid=installeditemdoubleaction layoutpos=top layout=flowlayout(0, 0, 1, 2)>
  172. <button id=atom(chg) accessible=true accRole=43 accName=rcstr(IDS_CHANGE) content=rcstr(IDS_CHANGE) />
  173. <button id=atom(rm) accessible=true accRole=43 accName=rcstr(IDS_REMOVE) content=rcstr(IDS_REMOVE) />
  174. </element>
  175. <element resid=installeditemchangeonlyaction layoutpos=top layout=flowlayout(0, 0, 1, 2)>
  176. <button id=atom(chg) accessible=true accRole=43 accName=rcstr(IDS_CHANGE) content=rcstr(IDS_CHANGE) />
  177. </element>
  178. <element resid=installeditemremoveonlyaction layoutpos=top layout=flowlayout(0, 0, 1, 2)>
  179. <button id=atom(rm) accessible=true accRole=43 accName=rcstr(IDS_REMOVE) content=rcstr(IDS_REMOVE) />
  180. </element>
  181. <element resid=installeditemsingleaction layoutpos=top layout=flowlayout(0, 0, 1, 2)>
  182. <button id=atom(chgrm) accessible=true accRole=43 accName=rcstr(IDS_CHANGEORREMOVE) content=rcstr(IDS_CHANGEORREMOVE) />
  183. </element>
  184. <element resid=publisheditemsingleaction layoutpos=top layout=flowlayout(0, 0, 1, 2)>
  185. <button id=atom(add) accessible=true accRole=43 accName=rcstr(IDS_ADD) content=rcstr(IDS_ADD) />
  186. </element>
  187. <element resid=ocsetupitemsingleaction layoutpos=top layout=flowlayout(0, 0, 1, 2)>
  188. <button id=atom(configure) accessible=true accRole=43 accName=rcstr(IDS_CONFIGURE) content=rcstr(IDS_CONFIGURE) />
  189. </element>
  190. //
  191. // ARP help popups
  192. //
  193. <arphelp resid=sizehelp layoutpos=absolute layout=borderlayout() sheet=styleref(helppopup)>
  194. <element layoutpos=top layout=borderlayout()>
  195. <element id=atom(title) layoutpos=left accessible=true accRole=41 accName=rcstr(IDS_SIZE) content=rcstr(IDS_SIZE) />
  196. </element>
  197. <element layoutpos=top contentalign=wrapleft accessible=true accRole=41 accName=rcstr(IDS_SIZEHELP) content=rcstr(IDS_SIZEHELP)/>
  198. <element layoutpos=bottom layout=borderlayout()>
  199. <element id=atom(divider) layoutpos=top height=2 width=100 />
  200. <button id=atom(close) class="winstyle" layoutpos=right accessible=true accRole=43 accName=rcstr(IDS_CLOSE) content=rcstr(IDS_CLOSE) />
  201. </element>
  202. </arphelp>
  203. <arphelp resid=freqhelp layoutpos=absolute layout=borderlayout() sheet=styleref(helppopup)>
  204. <element layoutpos=top layout=borderlayout()>
  205. <element id=atom(title) layoutpos=left accessible=true accRole=41 accName=rcstr(IDS_FREQUENCY) content=rcstr(IDS_FREQUENCY) />
  206. </element>
  207. <element layoutpos=top accessible=true accRole=41 accName=rcstr(IDS_FREQUENCYHELP) content=rcstr(IDS_FREQUENCYHELP) />
  208. <element layoutpos=top accessible=true accRole=41 accName=rcstr(IDS_FREQUENCYHELP1) content= rcstr(IDS_FREQUENCYHELP1) />
  209. <element layoutpos=top contentalign=wrapleft accessible=true accRole=41 accName=rcstr(IDS_FREQUENCYHELP2) content=rcstr(IDS_FREQUENCYHELP2) />
  210. <element layoutpos=bottom layout=borderlayout()>
  211. <element id=atom(divider) layoutpos=top height=2 width=100 />
  212. <button id=atom(close) class="winstyle" layoutpos=right accessible=true accRole=43 accName=rcstr(IDS_CLOSE) content=rcstr(IDS_CLOSE) />
  213. </element>
  214. </arphelp>
  215. <arphelp resid=suphelp layoutpos=absolute layout=borderlayout() sheet=styleref(helppopup)>
  216. <element layoutpos=top layout=borderlayout()>
  217. <element id=atom(prodname) layoutpos=bottom contentalign=wrapleft />
  218. <element layoutpos=bottom contentalign=wrapleft accessible=true accRole=41 accName=rcstr(IDS_TECHSUPPORT) content=rcstr(IDS_TECHSUPPORT) />
  219. <element content=" " />
  220. <element id=atom(title) layoutpos=left contentalign=wrapleft />
  221. </element>
  222. <element layoutpos=client layout=VerticalFlowLayout(0,0,3) padding=rect(0,10,0,10)>
  223. <ARPSupportItem id=atom(publisher) accessible=true accRole=41 AccName=rcstr(IDS_PUBLISHER) />
  224. <ARPSupportItem id=atom(version) accessible=true accRole=41 AccName=rcstr(IDS_VERSION) />
  225. <ARPSupportItem id=atom(contact) accessible=true accRole=41 AccName=rcstr(IDS_CONTACT) />
  226. <ARPSupportItem id=atom(support) accessible=true accRole=41 AccName=rcstr(IDS_SUPPORTINFO) />
  227. <ARPSupportItem id=atom(readme) accessible=true accRole=41 AccName=rcstr(IDS_README) />
  228. <ARPSupportItem id=atom(update) accessible=true accRole=41 AccName=rcstr(IDS_UPDATE) />
  229. <Element id=atom(ldivider) height=1 margin=rect(0,5,5,0) />
  230. <ARPSupportItem id=atom(productID) accessible=true accRole=41 AccName=rcstr(IDS_PRODUCTID) />
  231. <ARPSupportItem id=atom(regCompany) accessible=true accRole=41 AccName=rcstr(IDS_REGCOMPANY) />
  232. <ARPSupportItem id=atom(regOwner) accessible=true accRole=41 AccName=rcstr(IDS_REGOWNER) />
  233. <Element id=atom(ldivider) height=1 margin=rect(0,5,5,0) />
  234. <ARPSupportItem id=atom(comments) accessible=true accRole=41 AccName=rcstr(IDS_COMMENTS) />
  235. </element>
  236. <Element layoutpos=bottom layout=borderlayout()>
  237. <Button id=atom(close) class="winstyle" layoutpos=right accessible=true accRole=43 accName=rcstr(IDS_CLOSE) content=rcstr(IDS_CLOSE) />
  238. </Element>
  239. <Element layoutpos=bottom id=atom(rdivider) height=1 margin=rect(0,5,5,0) />
  240. <Element layoutpos=bottom id=atom(repairblock) layout=borderlayout()>
  241. <Element layoutpos=top id=atom(rdivider) height=1 margin=rect(0,5,5,0) />
  242. <Button id=atom(repair) class="winstyle" layoutpos=right accessible=true accRole=43 accName=rcstr(IDS_REPAIR) content=rcstr(IDS_REPAIR) />
  243. <element id=atom(repairDesc) layoutpos=left contentalign=wrapleft accessible=true accRole=41 accName=rcstr(IDS_REPAIRDESC) content=rcstr(IDS_REPAIRDESC) />
  244. </Element>
  245. </arphelp>