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.

457 lines
23 KiB

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