Leaked source code of windows server 2003
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.

499 lines
25 KiB

  1. #include "pifedit.h"
  2. #include "pifedit.rcv"
  3. /*
  4. * NOTE to TRANSLATORS
  5. *
  6. * The IDI_OTHGRP box is used to determine advanced dialog box bottom and
  7. * right edges. If you need more space in the dialog (for swedish
  8. * "Prioriterad nar aktiv" for example), then you MUST GROW THE IDI_OTHGRP
  9. * control AS WELL AS the Dialog template! Otherwise your new dialog size
  10. * will not take effect.
  11. */
  12. ID_PIFICON ICON PRELOAD PIFEDIT.ICO
  13. /*
  14. * HACK ALERT. in order to allow Alt+Mnemonic work for menus even
  15. * though pifedit is actually a dialog box, we must test all
  16. * WM_SYSCHAR messages to see if we should bypass the dialog manager.
  17. * In PifMenuMnemonic() we test for the mnemonic characters which are
  18. * defined in the string table to be the mnemonics used here: F,O,M. If
  19. * this is changed when translated,or more menus are added in the future,
  20. * make sure to change the defines in pif.h and the procedure
  21. * PifMenuMnemonic().
  22. *
  23. * NOTE TO TRANSLATORS: WHEN YOU TRANSLATE THESE MENU ITEMS MAKE SURE YOU
  24. * ALSO TRANSLATE THE SINGLE CHARACTER STRINGS IN THE
  25. * STRING TABLE THAT CORRESPOND (MENUMNEMONIC?).
  26. *
  27. * 07-Jun-1987. davidhab.
  28. *
  29. */
  30. ID_PIFMENU MENU PRELOAD
  31. {
  32. POPUP "&File"
  33. BEGIN
  34. MENUITEM "&New", M_NEW
  35. MENUITEM "&Open...", M_OPEN
  36. MENUITEM "&Save" M_SAVE
  37. MENUITEM "Save &As...", M_SAVEAS
  38. MENUITEM SEPARATOR
  39. MENUITEM "E&xit", M_EXIT
  40. END
  41. POPUP "&Mode"
  42. BEGIN
  43. MENUITEM "&Standard", M_286
  44. MENUITEM "&Enhanced", M_386
  45. END
  46. POPUP "&Help"
  47. BEGIN
  48. MENUITEM "&Contents", M_INDXHELP
  49. MENUITEM "&Search for Help on...", M_SHELP
  50. MENUITEM SEPARATOR
  51. MENUITEM "&Standard Options", M_286HELP
  52. MENUITEM "&Enhanced Options", M_386HELP
  53. MENUITEM "A&dvanced Options", M_386AHELP
  54. MENUITEM "&Windows Options", M_NTHELP
  55. MENUITEM SEPARATOR
  56. MENUITEM "&How to Use Help", M_HELPHELP
  57. MENUITEM SEPARATOR
  58. MENUITEM "&About PIF Editor...", M_ABOUT
  59. END
  60. }
  61. pifaccels ACCELERATORS
  62. BEGIN
  63. VK_F1, M_AHELP, VIRTKEY, NOINVERT
  64. END
  65. STRINGTABLE PRELOAD
  66. BEGIN
  67. /* start status bar text */
  68. IDI_ENAME, "Press F1 for Help on Program Filename."
  69. IDI_ETITLE, "Press F1 for Help on Window Title."
  70. IDI_EPARM, "Press F1 for Help on Optional Parameters."
  71. IDI_EPATH, "Press F1 for Help on Startup Directory."
  72. IDI_VMODETXT, "Press F1 for Help on Video Memory."
  73. IDI_VMODELRGRFX, "Press F1 for Help on Video Memory."
  74. IDI_VMODEHRGRFX, "Press F1 for Help on Video Memory."
  75. IDI_MEMREQ, "Press F1 for Help on Memory Requirements."
  76. IDI_MEMDES, "Press F1 for Help on Memory Requirements."
  77. IDI_EMSREQ, "Press F1 for Help on EMS Memory."
  78. IDI_EMSDES, "Press F1 for Help on EMS Memory."
  79. IDI_XMAREQ, "Press F1 for Help on XMS Memory."
  80. IDI_XMADES, "Press F1 for Help on XMS Memory."
  81. IDI_FSCR, "Press F1 for Help on Display Usage."
  82. IDI_WND, "Press F1 for Help on Display Usage."
  83. IDI_BACK, "Press F1 for Help on Execution."
  84. IDI_EXCL, "Press F1 for Help on Execution."
  85. IDI_EXIT, "Press F1 for Help on Close Window on Exit."
  86. IDI_ADVANCED, "Choose the Advanced button for more PIF Editor options."
  87. IDI_PSTEXT, "Press F1 for Help on Video Mode."
  88. IDI_PSGRAPH, "Press F1 for Help on Video Mode."
  89. IDI_DMCOM1, "Press F1 for Help on Directly Modifies."
  90. IDI_DMCOM2, "Press F1 for Help on Directly Modifies."
  91. IDI_DMCOM3, "Press F1 for Help on Directly Modifies."
  92. IDI_DMCOM4, "Press F1 for Help on Directly Modifies."
  93. IDI_DMKBD, "Press F1 for Help on Directly Modifies."
  94. IDI_SENONE, "Press F1 for Help on No Screen Exchange."
  95. IDI_PSNONE, "Press F1 for Help on Prevent Program Switch."
  96. IDI_NOSAVVID, "Press F1 for Help on No Save Screen."
  97. M_SYSMENUMAIN, "Move, size, or close window."
  98. M_FILEMENU, "Open or save PIF."
  99. M_MODEMENU, "Change PIF Editor settings mode."
  100. M_HELPMENU, "Get Help."
  101. M_SYSMENUADV, "Move or close window."
  102. M_286HELP, "Display Help contents for standard mode."
  103. M_386HELP, "Display Help contents for enhanced mode."
  104. M_386AHELP, "Display Help contents for advanced settings."
  105. M_INDXHELP, "Display Help contents for current mode."
  106. M_SHELP, "Find help topics using keywords."
  107. M_HELPHELP, "Display introduction to Windows Help."
  108. M_OPEN, "Open a saved PIF."
  109. M_SAVE, "Save PIF."
  110. M_NEW, "Create new PIF."
  111. M_SAVEAS, "Save the PIF using a new name."
  112. M_ABOUT, "Display program information."
  113. M_EXIT, "Quit PIF Editor."
  114. M_286, "Show settings for standard-mode Windows."
  115. M_386, "Show settings for enhanced-mode Windows."
  116. SC_SIZE, "Change window size."
  117. SC_MOVE, "Change window position."
  118. SC_MINIMIZE, "Reduce window to an icon."
  119. SC_MAXIMIZE, "Enlarge window to full size."
  120. SC_CLOSE, "Close window and quit PIF Editor."
  121. SC_CLOSEADV, "Close advanced window and discard your changes."
  122. SC_RESTORE, "Restore window to previous size."
  123. SC_TASKLIST, "Activate Task List."
  124. IDI_BPRI, "Press F1 for Help on Priority."
  125. IDI_FPRI, "Press F1 for Help on Priority."
  126. IDI_POLL, "Press F1 for Help on Detect Idle Time."
  127. IDI_EMSLOCKED, "Press F1 for Help on EMS Memory Locked."
  128. IDI_XMSLOCKED, "Press F1 for Help on XMS Memory Locked."
  129. IDI_NOHMA, "Press F1 for Help on Uses High Memory Area."
  130. IDI_VMLOCKED, "Press F1 for Help on Lock Application Memory."
  131. IDI_TRAPTXT, "Press F1 for Help on Monitor Ports."
  132. IDI_TRAPLRGRFX, "Press F1 for Help on Monitor Ports."
  133. IDI_TRAPHRGRFX, "Press F1 for Help on Monitor Ports."
  134. IDI_TEXTEMULATE, "Press F1 for Help on Emulate Text Mode."
  135. IDI_RETAINALLO, "Press F1 for Help on Retain Video Memory."
  136. IDI_INT16PST, "Press F1 for Help on Allow Fast Paste."
  137. IDI_CLOSE, "Press F1 for Help on Allow Close When Active."
  138. IDI_ALTTAB, "Press F1 for Help on Reserve Shortcut Keys."
  139. IDI_PRTSC, "Press F1 for Help on Reserve Shortcut Keys."
  140. IDI_ALTENTER, "Press F1 for Help on Reserve Shortcut Keys."
  141. IDI_ALTESC, "Press F1 for Help on Reserve Shortcut Keys."
  142. IDI_ALTPRTSC, "Press F1 for Help on Reserve Shortcut Keys."
  143. IDI_CTRLESC, "Press F1 for Help on Reserve Shortcut Keys."
  144. IDI_ALTSPACE, "Press F1 for Help on Reserve Shortcut Keys."
  145. IDI_HOTKEY, "Press F1 for Help on Application Shortcut Key."
  146. IDADVCANCEL, "Choose Cancel to discard changes and close the Advanced window."
  147. IDI_CANCLOSE, "Choose Close to close the Advanced window."
  148. IDOK, "Choose OK to accept changes and close the Advanced window."
  149. IDI_NT, "Choose the Windows NT button for NT specific PIF Editor options."
  150. IDI_AUTOEXEC, "Press F1 for Help on Autoexec Filename."
  151. IDI_CONFIG, "Press F1 for Help on Config Filename."
  152. IDI_NTTIMER, "Press F1 for Help on Compatible Timer Hardware Emulation."
  153. SC_NTCLOSE, "Close Windows NT window and discard your changes."
  154. M_NTHELP, "Display Help contents for Windows NT settings."
  155. IDNTCANCEL, "Choose Cancel to discard changes and close the Windows NT window."
  156. IDI_NTCANCLOSE, "Choose Close to close the Windows NT window."
  157. IDNTOK, "Choose OK to accept changes and close the Windows NT window."
  158. IDI_GENSTAT, "Press F1 for PIF Editor Help."
  159. /* end status bar text */
  160. errTitle, "PIF Editor"
  161. errNOEND, "PIF Editor
  162. \r\rCannot quit PIF Editor."
  163. /*
  164. * The following two items are the strings passed to COMMDLG for the
  165. * file name list. NO, you cannot change
  166. * the PIF file extension to something else by changing the DEF of
  167. * errFlTypePIF. This is simply the text associated with the type, that
  168. * is all!
  169. */
  170. errFlTypePIF, "PIF Files (*.PIF)"
  171. errFlTypeAll, "All Files (*.*)"
  172. errNoPIFfnf, "File not found.
  173. \r\rCheck to ensure the path and filename are correct."
  174. errNoNTAFile, "No Autoexec filename specified.
  175. \r\rEnter a valid path and filename. Choose OK to ignore this warning."
  176. errNTAFilene, "Autoexec file specified doesn't exist.
  177. \r\rCheck to ensure the path and filename are correct. Choose OK to ignore this warning."
  178. errNoNTCFile, "No Config filename specified.
  179. \r\rEnter a valid path and filename. Choose OK to ignore this warning."
  180. errNTCFilene, "Config file specified doesn't exist.
  181. \r\rCheck to ensure the path and filename are correct. Choose OK to ignore this warning."
  182. errNoPIFpnf, "Path not found.
  183. \r\rCheck to ensure the path name is correctly specified, and that the file exists."
  184. errNoFileHnds, "Insufficient file handles.
  185. \r\rIncrease the FILES= entry in CONFIG.SYS."
  186. errNoAcc, "Access denied.
  187. \r\rYou cannot access this PIF now. Try again later."
  188. errSharing, "Sharing violation.
  189. \r\rSome other program is accessing this PIF now. Try again later."
  190. errNoCreate, "Cannot create PIF.
  191. \r\rCheck to ensure the disk has available space and the directory is correctly specified."
  192. errCrtRO, "This PIF is read-only.
  193. \r\rYou will have to turn off this file's read-only attribute, or select another name."
  194. errNoOpen, "PIF is too large to load.
  195. \r\rCheck to ensure the file is a PIF."
  196. errMmMaxMin386, "Windows KB Preferred memory less than KB Required memory.
  197. \r\rEither increase KB Preferred memory or decrease KB Required memory."
  198. errXMSMaxMin386,"Windows XMS KB Limit memory less than KB Required memory.
  199. \r\rEither increase XMS KB Limit memory or decrease KB Required memory."
  200. errXMSMaxMin286,"Windows XMS KB Limit memory less than KB Required memory.
  201. \r\rEither increase XMS KB Limit memory or decrease KB Required memory."
  202. errEMMMaxMin386,"Windows EMS KB Limit memory less than KB Required memory.
  203. \r\rEither increase EMS KB Limit memory or decrease KB Required memory."
  204. /*
  205. * errEMMMaxMin286,"Windows EMS KB Limit memory less than KB Required memory;
  206. * \r\reither increase EMS KB Limit memory or decrease KB Required memory."
  207. * PIFOLDFIL2,"This file is a Windows 3.00 PIF. If you save it, the PIF editor will convert it to the new Windows 3.10 PIF format."
  208. */
  209. errHiLow, "The PIF you are editing is damaged.
  210. \r\rCreate and save the file again."
  211. warSave, "Save current changes?"
  212. EINSMEMORY, "Insufficient memory to perform this operation.
  213. \r\rClose one or more Windows applications to increase available memory."
  214. EINVALIDFILE, "Invalid filename.
  215. \r\rCheck to ensure the filename has no more than 8 characters followed by a period and a 3-letter extension."
  216. errDiskFull, "Insufficient disk space.
  217. \r\rDelete one or more files to increase available disk space, and then try again."
  218. IABOUT, "About..."
  219. errBadExt, "Invalid extension in program name.
  220. \r\rCheck to ensure the extension is .EXE, .COM, or .BAT. Choose OK to ignore this error."
  221. errBadProgram, "Invalid program filename.
  222. \r\rCheck to ensure the name includes no more than 8 valid characters. Choose OK to ignore this error."
  223. errBadAutoName, "Invalid autoexec filename.
  224. \r\rCheck to ensure the name includes no more than 8 valid characters. Choose OK to ignore this error."
  225. errBadConName, "Invalid config filename.
  226. \r\rCheck to ensure the name includes no more than 8 valid characters. Choose OK to ignore this error."
  227. errBadNumberMR, "Numbers entered are invalid.
  228. \r\rKB Required numbers must be -1, or between 0 and 640."
  229. errBadNumberMD, "Numbers entered are invalid.
  230. \r\rKB Preferred numbers must be -1, or between 0 and 640."
  231. errBadNumberP, "Numbers entered are invalid.
  232. \r\rPriorities must be between 1 and 10000."
  233. errBadNumberXEMSR, "Numbers entered are invalid.
  234. \r\rKB Required numbers must be between 0 and 16384."
  235. errBadNumberXEMSD, "Numbers entered are invalid.
  236. \r\rKB Limit numbers must be -1, or between 0 and 16384."
  237. IS386,"Windows is not running in enhanced mode. The PIF information you enter may not be appropriate. Are you sure you want to switch to this mode?"
  238. IS286,"Windows is not running in standard mode. The PIF information you enter may not be appropriate. Are you sure you want to switch to this mode?"
  239. errBadAutoPath, "The path entered for the Autoexec Filename is invalid.
  240. \r\rCheck the path name for correctness."
  241. errBadConfigPath, "The path entered for the Config Filename is invalid.
  242. \r\rCheck the path name for correctness."
  243. PIFCAPTION, "PIF Editor - "
  244. PIFCAPTIONADV, "Advanced Options"
  245. PIFCAPTIONNT, "Windows NT Options"
  246. NTSYSTEMROOT, "%SystemRoot%"
  247. NTSYSTEM32, "\\SYSTEM32\\"
  248. NTAUTOEXECFILE, "AUTOEXEC.NT"
  249. NTCONFIGFILE, "CONFIG.NT"
  250. PIFBADFIL,"This is an invalid Windows PIF. If you save it, PIF Editor will convert it and information not relevant to Windows may be lost."
  251. PIFOLDFIL,"This file is an old Windows PIF. If you save it, PIF Editor will convert it to the new PIF format."
  252. WARNCLOSE,"Allowing applications to be closed when active can result in loss of data, and damage to your disk. Are you sure you want to allow this?"
  253. NONE, "None"
  254. BADHK, "Invalid shortcut key.
  255. \r\rPress F1 to determine valid keys or consult your documentation."
  256. errWrongExt,"This file does not have the .PIF filename extension. Are you sure you want to open this file?"
  257. WININISECT, "PIFEDIT"
  258. WININIADV, "advanced"
  259. WININION, "yes"
  260. MENUMNEMONIC1, "F"
  261. MENUMNEMONIC2, "M"
  262. MENUMNEMONIC3, "H"
  263. /* This is the char used to separate elements in the Shortcut Key control */
  264. KEYSEPCHAR, "+"
  265. NOMODE386, "Cannot switch to enhanced mode."
  266. NOMODENT, "Insufficient memory to invoke Windows NT options."
  267. NOMODE286, "Cannot switch to standard mode."
  268. NOTITLE, "(Untitled)"
  269. PIFCANCELSTRNG, "Cancel"
  270. PIFDONESTRNG, "Close"
  271. END
  272. ID_PIF386TEMPLATE DIALOG PRELOAD 0, 0, 252, 171
  273. STYLE WS_CHILD | DS_LOCALEDIT
  274. FONT 8,"MS Sans Serif"
  275. BEGIN
  276. LTEXT "&Program Filename:", 900, 6, 4, 80, 10
  277. EDITTEXT IDI_ENAME, 88, 2, 152, 12, WS_TABSTOP | WS_GROUP | ES_AUTOHSCROLL | ES_OEMCONVERT
  278. LTEXT "Window &Title:", 901, 6, 19, 80, 10
  279. EDITTEXT IDI_ETITLE, 88, 17, 120, 12, WS_TABSTOP | WS_GROUP | ES_AUTOHSCROLL
  280. LTEXT "&Optional Parameters:",902, 6, 34, 80, 10
  281. EDITTEXT IDI_EPARM, 88, 32, 152, 12, WS_TABSTOP | WS_GROUP | ES_AUTOHSCROLL | ES_OEMCONVERT
  282. LTEXT "&Startup Directory:", 903, 6, 49, 80, 10
  283. EDITTEXT IDI_EPATH, 88, 47, 152, 12, WS_TABSTOP | WS_GROUP | ES_AUTOHSCROLL | ES_OEMCONVERT
  284. LTEXT "&Video Memory:", 921, 6, 65, 56, 10
  285. RADIOBUTTON "Text", IDI_VMODETXT, 69, 63, 28, 12, WS_TABSTOP | WS_GROUP
  286. RADIOBUTTON "Low Graphics", IDI_VMODELRGRFX, 109, 63, 60, 12
  287. RADIOBUTTON "High Graphics",IDI_VMODEHRGRFX, 177, 63, 64, 12
  288. LTEXT "Memory Requirements:", 904, 6, 78, 82, 10
  289. LTEXT "KB &Required", 905, 89, 78, 50, 10
  290. EDITTEXT IDI_MEMREQ, 144, 76, 18, 12, WS_TABSTOP | WS_GROUP
  291. LTEXT "KB Preferre&d", 906, 170, 78, 49, 10
  292. EDITTEXT IDI_MEMDES, 222, 76, 18, 12, WS_TABSTOP | WS_GROUP
  293. LTEXT "EMS Memory:", 909, 6, 92, 56, 10
  294. LTEXT "&KB Required", 910, 89, 92, 46, 10
  295. EDITTEXT IDI_EMSREQ, 136, 91, 28, 12, WS_TABSTOP | WS_GROUP
  296. LTEXT "KB &Limit", 911, 170, 92, 30, 10
  297. EDITTEXT IDI_EMSDES, 212, 91, 28, 12, WS_TABSTOP | WS_GROUP
  298. LTEXT "XMS Memory:", 912, 6,107, 56, 10
  299. LTEXT "KB Re&quired", 913, 89,107, 46, 10
  300. EDITTEXT IDI_XMAREQ, 136,106, 28, 12, WS_TABSTOP | WS_GROUP
  301. LTEXT "KB L&imit", 914, 170,107, 30, 10
  302. EDITTEXT IDI_XMADES, 212,106, 28, 12, WS_TABSTOP | WS_GROUP
  303. LTEXT "Display Usage:", 907, 6,121, 56, 10
  304. RADIOBUTTON "F&ull Screen", IDI_FSCR, 63,120, 55, 12, WS_TABSTOP | WS_GROUP
  305. RADIOBUTTON "&Windowed", IDI_WND, 63,132, 48, 12
  306. LTEXT "Execution:", 915, 149,121, 38, 10
  307. /* INTL IDI_BACK Used to size main wnd Enh Right */
  308. CHECKBOX "&Background", IDI_BACK, 190,120, 51, 12, WS_TABSTOP | WS_GROUP
  309. CHECKBOX "&Exclusive", IDI_EXCL, 190,132, 50, 12, WS_TABSTOP
  310. CHECKBOX "&Close Window on Exit",IDI_EXIT, 6, 148, 97, 13, WS_TABSTOP | WS_GROUP
  311. PUSHBUTTON "&Advanced...", IDI_ADVANCED, 122, 147, 52, 15, WS_TABSTOP | WS_GROUP
  312. PUSHBUTTON "Windows &NT...", IDI_NT, 180, 147, 59, 15, WS_TABSTOP | WS_GROUP
  313. END
  314. /*
  315. * NOTE to LOCALIZERS and INTERNATIONAL!!!!
  316. *
  317. * the IDI_OTHGRP box is used to determine advanced dialog box bottom and
  318. * right edges. If you need more space in the dialog (for swedish
  319. * "Prioriterad nar aktiv" for example), then you MUST GROW THE IDI_OTHGRP
  320. * control AS WELL AS the Dialog template! Otherwise your new dialog size
  321. * will not take effect.
  322. */
  323. ID_PIF386ADVTEMPLT DIALOG 05, 20, 290, 201
  324. STYLE DS_LOCALEDIT | WS_OVERLAPPED | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU
  325. FONT 8,"MS Sans Serif"
  326. BEGIN
  327. GROUPBOX "Multitasking Options", 143, 3, 3,219, 39, WS_GROUP
  328. LTEXT "&Background Priority:", 908, 6, 15, 73, 10
  329. EDITTEXT IDI_BPRI, 80, 14, 28, 12, WS_TABSTOP | WS_GROUP
  330. LTEXT "&Foreground Priority:", 916, 113, 15, 73, 10
  331. EDITTEXT IDI_FPRI, 187, 14, 28, 12, WS_TABSTOP | WS_GROUP
  332. CHECKBOX "&Detect Idle Time", IDI_POLL, 76, 28, 76, 12, WS_TABSTOP | WS_GROUP
  333. GROUPBOX "Memory Options", 144, 3, 43,256, 38, WS_GROUP
  334. CHECKBOX "EMS Memory Loc&ked", IDI_EMSLOCKED, 22, 54,100, 12, WS_TABSTOP | WS_GROUP
  335. CHECKBOX "XMS Memory L&ocked", IDI_XMSLOCKED, 147, 54,100, 12, WS_TABSTOP
  336. CHECKBOX "Uses &High Memory Area", IDI_NOHMA, 22, 66,107, 12, WS_TABSTOP
  337. CHECKBOX "&Lock Application Memory",IDI_VMLOCKED, 147, 66,108, 12, WS_TABSTOP
  338. GROUPBOX "Display Options", 145, 3, 82,256, 38, WS_GROUP
  339. LTEXT "Monitor Por&ts:", 924, 6, 94, 56, 10
  340. CHECKBOX "Text", IDI_TRAPTXT, 76, 92, 28, 12, WS_TABSTOP | WS_GROUP
  341. CHECKBOX "Low Graphics", IDI_TRAPLRGRFX, 116, 92, 60, 12
  342. CHECKBOX "High Graphics", IDI_TRAPHRGRFX, 184, 92, 64, 12
  343. CHECKBOX "&Emulate Text Mode", IDI_TEXTEMULATE, 47,105, 85, 12, WS_TABSTOP
  344. CHECKBOX "Retain Video &Memory", IDI_RETAINALLO, 136,105, 92, 12, WS_TABSTOP
  345. /*
  346. * INTL IDI_OTHGRP Used to Size adv wnd Bottom & Right
  347. *
  348. * NOTE to LOCALIZERS!!!!
  349. *
  350. * the IDI_OTHGRP box is used to determine advanced dialog box bottom and
  351. * right edges. If you need more space in the dialog (for swedish
  352. * "Prioriterad nar aktiv" for example), then you MUST GROW THE IDI_OTHGRP
  353. * control AS WELL AS the Dialog template!
  354. */
  355. GROUPBOX "Other Options", IDI_OTHGRP, 3,121,256, 81, WS_GROUP
  356. CHECKBOX "Allow Fast &Paste", IDI_INT16PST, 6,131, 74, 12, WS_TABSTOP | WS_GROUP
  357. CHECKBOX "Allow &Close When Active", IDI_CLOSE, 146,131,103, 12, WS_TABSTOP
  358. LTEXT "Reserve &Shortcut Keys:", 918, 6,146, 88, 10
  359. CHECKBOX "Alt+Tab", IDI_ALTTAB, 95,145, 40, 12, WS_TABSTOP | WS_GROUP
  360. CHECKBOX "PrtSc", IDI_PRTSC, 95,157, 33, 12, WS_TABSTOP
  361. CHECKBOX "Alt+Enter", IDI_ALTENTER, 95,169, 47, 12, WS_TABSTOP
  362. CHECKBOX "Alt+Esc", IDI_ALTESC, 139,145, 39, 12, WS_TABSTOP
  363. /* INTL IDI_ALTPRTSC Used to size main wnd std Bottom */
  364. CHECKBOX "Alt+PrtSc", IDI_ALTPRTSC, 139,157, 45, 12, WS_TABSTOP
  365. CHECKBOX "Ctrl+Esc", IDI_CTRLESC, 188,145, 43, 12, WS_TABSTOP
  366. CHECKBOX "Alt+Space", IDI_ALTSPACE, 188,157, 49, 12, WS_TABSTOP
  367. LTEXT "&Application Shortcut Key:", 917, 6,185, 96, 10
  368. CONTROL "", IDI_HOTKEY, "PifHKy", WS_BORDER | WS_TABSTOP | WS_CHILD | WS_GROUP, 103, 184, 116, 12
  369. DEFPUSHBUTTON "OK", IDOK, 227, 8, 32, 14, WS_TABSTOP | WS_GROUP
  370. PUSHBUTTON "Cancel", IDADVCANCEL, 227, 27, 32, 14, WS_TABSTOP
  371. END
  372. ID_PIFNTTEMPLT DIALOG 20, 7, 298, 65
  373. STYLE DS_LOCALEDIT | WS_OVERLAPPED | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU
  374. FONT 8,"MS Sans Serif"
  375. BEGIN
  376. GROUPBOX "Custom MS-DOS Initialization Files", IDI_DOS,3, 3, 229, 47, WS_GROUP
  377. LTEXT "&Autoexec Filename:", 919, 6, 16, 70, 10
  378. EDITTEXT IDI_AUTOEXEC, 75, 15, 150, 12, WS_TABSTOP | WS_GROUP | ES_AUTOHSCROLL | ES_OEMCONVERT
  379. LTEXT "&Config Filename:", 920, 6, 32, 70, 10
  380. EDITTEXT IDI_CONFIG, 75, 31, 150, 12, WS_TABSTOP | WS_GROUP | ES_AUTOHSCROLL | ES_OEMCONVERT
  381. /* INTL CHECKBOX Used to Size NT wnd bottom */
  382. CHECKBOX "Compatible &Timer Hardware Emulation", IDI_NTTIMER, 3, 54, 140, 10, WS_TABSTOP | BS_CHECKBOX
  383. /* INTL IDNTOK Used to Size NT wnd Right */
  384. DEFPUSHBUTTON "OK", IDNTOK, 237, 7, 32, 14, WS_TABSTOP | WS_GROUP
  385. PUSHBUTTON "Cancel", IDNTCANCEL, 237, 26, 32, 14, WS_TABSTOP
  386. END
  387. ID_PIF286TEMPLATE DIALOG PRELOAD 0, 0, 261, 180
  388. STYLE WS_CHILD | DS_LOCALEDIT
  389. FONT 8,"MS Sans Serif"
  390. BEGIN
  391. LTEXT "&Program Filename:", 900, 6, 4, 80, 10
  392. EDITTEXT IDI_ENAME, 90, 2, 152, 12, WS_TABSTOP | WS_GROUP | ES_AUTOHSCROLL | ES_OEMCONVERT
  393. LTEXT "Window &Title:", 901, 6, 19, 80, 10
  394. EDITTEXT IDI_ETITLE, 90, 17, 120, 12, WS_TABSTOP | WS_GROUP | ES_AUTOHSCROLL
  395. LTEXT "&Optional Parameters:", 902, 6, 34, 80, 10
  396. EDITTEXT IDI_EPARM, 90, 32, 152, 12, WS_TABSTOP | WS_GROUP | ES_AUTOHSCROLL | ES_OEMCONVERT
  397. LTEXT "&Startup Directory:", 903, 6, 49, 80, 10
  398. EDITTEXT IDI_EPATH, 90, 47, 152, 12, WS_TABSTOP | WS_GROUP | ES_AUTOHSCROLL | ES_OEMCONVERT
  399. LTEXT "&Video Mode:", 930, 6, 63, 53, 10
  400. RADIOBUTTON "Text", IDI_PSTEXT, 90, 62, 37, 12, WS_TABSTOP | WS_GROUP
  401. RADIOBUTTON "Graphics/Multiple Text", IDI_PSGRAPH, 128, 62, 108, 12
  402. LTEXT "Memory Requirements:", 904, 6, 77, 83, 10
  403. LTEXT "KB &Required", 905, 90, 77, 45, 10
  404. EDITTEXT IDI_MEMREQ, 136, 76, 18, 12, WS_TABSTOP | WS_GROUP
  405. LTEXT "XMS Memory:", 912, 6, 92, 56, 10
  406. LTEXT "KB Re&quired", 913, 90, 92, 45, 10
  407. EDITTEXT IDI_XMAREQ, 136, 91, 28, 12, WS_TABSTOP | WS_GROUP
  408. LTEXT "KB L&imit", 914, 176, 92, 29, 10
  409. EDITTEXT IDI_XMADES, 206, 91, 28, 12, WS_TABSTOP | WS_GROUP
  410. /*
  411. * LTEXT "EMS Memory:", 909, 6, 106, 56, 10
  412. * LTEXT "KB Require&d", 910, 90, 106, 45, 10
  413. * EDITTEXT IDI_EMSREQ, 136, 105, 28, 12, WS_TABSTOP | WS_GROUP
  414. * LTEXT "KB &Limit", 911, 176, 106, 29, 10
  415. * EDITTEXT IDI_EMSDES, 206, 105, 28, 12, WS_TABSTOP | WS_GROUP
  416. */
  417. LTEXT "Directly Modifies:", 907, 6, 107, 70, 10
  418. CHECKBOX "COM&1", IDI_DMCOM1, 90, 106, 46, 12, WS_TABSTOP | WS_GROUP
  419. CHECKBOX "COM&2", IDI_DMCOM2, 90, 118, 46, 12, WS_TABSTOP
  420. CHECKBOX "COM&3", IDI_DMCOM3, 139, 106, 41, 12, WS_TABSTOP
  421. CHECKBOX "COM&4", IDI_DMCOM4, 139, 118, 43, 12, WS_TABSTOP
  422. CHECKBOX "&Keyboard", IDI_DMKBD, 188, 106, 46, 12, WS_TABSTOP
  423. CHECKBOX "No Screen &Exchange", IDI_SENONE, 6, 130, 92, 12, WS_TABSTOP | WS_GROUP
  424. CHECKBOX "Prevent Program S&witch",IDI_PSNONE, 122, 130, 105, 12, WS_TABSTOP
  425. CHECKBOX "&Close Window on Exit", IDI_EXIT, 6, 142, 97, 12, WS_TABSTOP
  426. CHECKBOX "&No Save Screen", IDI_NOSAVVID,122, 142, 97, 12, WS_TABSTOP
  427. LTEXT "Reserve Shortc&ut Keys:",918, 6, 156, 83, 10
  428. CHECKBOX "Alt+Tab", IDI_ALTTAB, 90, 155, 40, 12, WS_TABSTOP | WS_GROUP
  429. CHECKBOX "PrtSc", IDI_PRTSC, 90, 167, 33, 12, WS_TABSTOP
  430. CHECKBOX "Alt+Esc", IDI_ALTESC, 139, 155, 39, 12, WS_TABSTOP
  431. CHECKBOX "Alt+PrtSc", IDI_ALTPRTSC,139, 167, 45, 12, WS_TABSTOP
  432. CHECKBOX "Ctrl+Esc", IDI_CTRLESC, 188, 155, 43, 12, WS_TABSTOP
  433. END