home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1995 November / PCWK1195.iso / inne / podstawy / os2 / nakladki / pc2v190.exe / SOURCE.ZIP / Source / PC2.ipp < prev    next >
Encoding:
Text File  |  1995-05-01  |  115.2 KB  |  2,027 lines

  1. .imd PC2.h
  2. :userdoc.
  3. :title.PC/2 Help Program
  4. :body.
  5.  
  6.  
  7. .****************************************************************************************
  8. .*--------------------------------------------------------------------------------------*
  9. .* The user selected help with F1, the mouse, the smarticon or the keyboard.            *
  10. .*--------------------------------------------------------------------------------------*
  11. .****************************************************************************************
  12.  
  13. :h1 res=&ID_HELP..PC/2 Help for Help
  14. :lines align=center.
  15. :color fc=red.
  16. PC/2 - Program Commander/2 Version 1.90
  17. for IBM OS/2 2.x, 3.x Presentation Manager
  18. Copyright (C) by Roman Stangl May, 1995
  19. :color fc=default.
  20. :elines.
  21. :p.Please select one of the following topics for further information:
  22. :ul compact.
  23. :li.:link reftype=hd res=&ID_ABOUTDIALOG..About the utility PC/2:elink.
  24. :li.:link reftype=hd res=&ID_INSTALLATIONHELP..Installing PC/2:elink.
  25. :li.:link reftype=hd res=&ID_GENERALHELP..Using PC/2 as a WPS addon:elink.
  26. :li.:link reftype=hd res=&ID_CONCEPTSHELP..Concepts of the Popup Menu:elink.
  27. :li.:link reftype=hd res=&ID_USINGHELP..Starting a Program from PC/2:elink.
  28. :li.:link reftype=hd res=&ID_CONFIGDIALOG..Setting up the Popup Menu:elink.
  29. :ul compact.
  30. :li.:link reftype=hd res=&MIID_MENUDIALOG..Adding a Submenu:elink.
  31. :li.:link reftype=hd res=&PIID_PROGRAMDIALOG..Adding a Program:elink.
  32. :li.:link reftype=hd res=&MDID_CONTROLDIALOG..Adding Popup Menu controls:elink.
  33. :li.:link reftype=hd res=&RDID_RESORTDIALOG..Resorting a (Sub)menu:elink.
  34. :li.:link reftype=hd res=&SUID_STARTUPDIALOG..Runtime parameters:elink.
  35. :eul.
  36. :li.:link reftype=hd res=&ID_DESKTOPDIALOG..Setting up the Desktop:elink.
  37. :li.:link reftype=hd res=&ID_OVERVIEWHELP..PC/2's Desktop Overview Window:elink.
  38. :li.:link reftype=hd res=&ID_PC2SPOOLERWINDOW..PC/2's Spooler Control window:elink.
  39. :li.:link reftype=hd res=&ID_COMPATIBILITY..PC/2's compatibility to other applications:elink.
  40. :li.:link reftype=hd res=&ID_ERRORHELP..Error Messages:elink.
  41. :li.:link reftype=hd res=&ID_FAQ..Questions &. Answers:elink.
  42. :eul.
  43. :note.
  44. PC/2 contains :hp8."WPS 2 PC/2":ehp8. WorkPlace Shelll migration tool in its package.
  45. For further information about WPS 2 PC/2 select :hp9.Help:ehp9. from
  46. the WPS Object WPS 2 PC/2 itself.
  47. WPS 2 PC/2 is installed on your Desktop during installation of the
  48. PC/2 package.
  49.  
  50. :p.:link reftype=hd res=&ID_HELP..<Backward>:elink.
  51.                                 :link reftype=hd res=&ID_ABOUTDIALOG..<Forward>:elink.
  52.  
  53.  
  54. .****************************************************************************************
  55. .*--------------------------------------------------------------------------------------*
  56. .* The user selected help from the About PC/2 dialog box.                               *
  57. .*--------------------------------------------------------------------------------------*
  58. .****************************************************************************************
  59.  
  60. :h1 res=&ID_ABOUTDIALOG..Help for About PC/2
  61. :lines align=center.
  62. :color fc=red.
  63. PC/2 - Program Commander/2 Version 1.90
  64. for IBM OS/2 2.x, 3.x Presentation Manager
  65. Copyright (C) by Roman Stangl Roman May, 1995
  66. :color fc=default.
  67. :elines.
  68. :p.E-Mail:
  69. :ul.
  70. :li.InterNet: rstangl@vnet.ibm.com
  71. :li.IBM VNET: 61821799 at VIEVMA
  72. :li.FidoNet: Roman Stangl @ 2&colon.310/14 LA BAMBA BBS Tel.: (Int. Code +43 +1 +6156811)
  73. :li.FidoNet: Roman Stangl @ IBM Austria National Support BBS Tel.: (Int. Code +43 +1 +21145-6600)
  74. :eul.
  75. :p.The PC/2 package (consisting of the OS/2 PM application PC/2 and
  76. the WPS program Object WPS 2 PC/2) is classified as Freeware.
  77. Under the copyright, you are allowed and encouraged to freely use, distribute or modify
  78. this program under the following conditions:
  79. :ul compact.
  80. :li.The complete source code and all executables must be included. This rule also applies
  81. for any modifications/recompilitions you've made.
  82. Just drop me a short note descibing the changes.
  83. :li.You may only charge for the costs of duplicating. :hp4.Distribution on InterNet, FidoNet
  84. or similar is preferred.:ehp4. Therefore, this program must not be sold by immoral "Public
  85. Domain &. ShareWare" dealers that charge a price way over the actual duplication costs.
  86. :li.:hp4.Any:ehp4. commercial use is prohibited without contacting me beforehand, except
  87. for incorporating the concept or code in any future release of OS/2 by IBM.  This however this
  88. clause doesn't apply to individual private use.
  89. :li.You don't want to port this utility to MS Windows, Windows NT (Nice Try), or
  90. Windows96 (or whatever "Chicago" will be called when it is ready)
  91. :eul.
  92. :p.You are encouraged to upload this utility to your favorite file-server or
  93. BBS. Please dooublecheck that no file from this archive is missing, if you
  94. change the archive to a different compression scheme.
  95. Please retain the same name, regardless of the compression method you use.
  96. PC/'2 archive is named PC2vxyy.ZIP, where x is the major and yy the minor version,
  97. e.g. 190 for version 1.90 (PC2v190.ZIP).
  98. :p.If you find this program useful and want to honor many weeks of work writing
  99. this utility, you are welcome to send me a small fee of about 50 to 150 Austrian
  100. Schillings (about 5 to 15 dollars) to my home address. Of course you don't need
  101. to pay again, when a new release of PC/2 comes out.
  102. Please send any donations in cash - it is a lot of trouble to work with foreign
  103. money orders or equivalent, here in Austria, plus the banks charge an arm and a leg!
  104. :p.Suggestions are welcome.
  105. Because of the Freeware status of PC/2 I am :hp4.not:ehp4. going to send new
  106. versions or anything else by mail (which is likely to become a never ending story),
  107. however I try to do my best to do support via E-Mail.  As my time is limited, contributors'
  108. get priority treatment.
  109. :p.Thanks to all those people who sent me proposals and bug reports to improve this
  110. utility!
  111. Special thanks to Mario Semo, Carrick von Schoultz and Markus Hof, Roman Fischer,
  112. Alex Stewart, Ingo Pflanz, Rolf Knebel, Michael Wakunda, Stefan Hora,
  113. Monte Copeland, Roland Emmerich and Joe Hartman (thanks Joe, without your
  114. support, PC/2 and its documentation would not have experienced such a quality improvement)
  115. who gave me advice, source code,
  116. valuable hints, or other support to improve PC/2
  117. :p.Also, thanks to anyone who makes "undocumented" information available, too!
  118. :p.My home address is:
  119. :sl compact.
  120. :li.    Roman Stangl
  121. :li.    Strebersdorferstrasse 46
  122. :li.    A-2103  Langenzersdorf, Austria
  123. :esl.
  124. :p.:link reftype=hd res=&ID_HELP..<Backward>:elink.
  125.                                 :link reftype=hd res=&ID_INSTALLATIONHELP..<Forward>:elink.
  126.  
  127.  
  128. .****************************************************************************************
  129. .*--------------------------------------------------------------------------------------*
  130. .* The user selected help for PC/2 installation.                                        *
  131. .*--------------------------------------------------------------------------------------*
  132. .****************************************************************************************
  133.  
  134. :h1 res=&ID_INSTALLATIONHELP..Installing PC/2
  135. :p.You have obviously started PC/2 once, because you are reading this help panel.
  136. The installation is straight forward, with a REXX script that installs PC/2.
  137. However here are some points to take note of:
  138. :ul.
  139. :li.The installation installs an icon on the Desktop and starts the help panels
  140. of PC/2. To ensure that OS/2 starts PC/2 automatically the next time you boot your
  141. system, you must start PC/2 again (you then can notice that the background behind
  142. the icon changes).
  143. :p.If you have added :hp4.SET RESTARTOBJECTS=STARTUPFOLDERSONLY:ehp4.
  144. in your :hp9.CONFIG.SYS:ehp9. then you :hp2.must:ehp2. add a shadow of PC/2
  145. to your startup folder to ensure PC/2 is started the next time you boot OS/2.
  146. :li.PC/2 requires access to the :hp4.PC2HOOK.DLL:ehp4. and :hp4.PC2SPOOL.DLL:ehp4. files.
  147. PC/2 tries to find these files either in the current directory
  148. when the :hp4.LIBPATH:ehp4. environment variable contains :hp4..;:ehp4., or in a path
  149. that is included in the :hp4.LIBPATH:ehp4. environment variable.
  150. :p.PC/2 will
  151. not be able to run if :hp4.PC2HOOK.DLL:ehp4. can't be loaded, and won't be
  152. able to provide the PC/2 Spooler Control Window, if :hp4.PC2SPOOL.DLL:ehp4. can't
  153. be loaded.
  154. :p.The file :hp4.PC2.HLP:ehp4. may be either accessible in the directory,
  155. where PC/2 is started from, or in a path that is included in the environment
  156. variable :hp4.HELP:ehp4..
  157. :p. If you have problems running PC/2, ensure
  158. that the working directory of PC/2 is accessible by these variables
  159. in your :hp9.CONFIG.SYS:ehp9..
  160. :li.The installation program assumes that you are using the default profile :hp9.PC2.CFG:ehp9.
  161. containing a standard pre-defined Popup Menu. If you want to use another Popup Menu,
  162. you have to restart PC/2 and add your preferred profile as a commandline option.
  163. Click to the next help panel to get more information about commandline parameters.
  164. You may also use your favorite editor to import one profile into another, but
  165. you have to ensure that you don't violate the syntax rules of the profile.
  166. :li.PC/2 looks for its initialization file, :hp9.PC2.INI:ehp9. in the directory
  167. where PC/2 was started from.
  168. :li.You can only run one copy of PC/2 concurrently.
  169. :li.If you select a DOS or WIN-OS2 Program to be started via PC/2, the time-slice of their
  170. sessions is optimized (the DOS-Settings are modified to
  171. :hp4.IDLE_SECONDS=5 IDLE_SENSITIVITY=100:ehp4.) to get better performance.
  172. This is useful for most DOS games.
  173. :li.You may :hp2.use PC/2 with or without the WPS installed:ehp2.,
  174. :hp2.you may even use PC/2 as
  175. a replacement for the WPS:ehp2.. To do so, you must install PC/2 first. Then you have
  176. to ensure that :hp4.PC2HOOK.DLL:ehp4. and :hp4.PC2SPOOL.DLL:ehp4. are accessible by PC/2.
  177. You also have to ensure that :hp4.PC2.HLP:ehp4. is accessible in the PC/2 directory, or
  178. in a path pointed to by the :hp4.HELP:ehp4. environment
  179. variable in your :hp9.CONFIG.SYS:ehp9. file. Then replace the statement
  180. :p.:hp4.SET RUNWORKPLACE=C&colon.\OS2\PMSHELL.EXE:ehp4. with
  181. :p.:hp4.SET RUNWORKPLACE=[path]PC2.EXE:ehp4. or
  182. :p.:hp4.SET RUNWORKPLACE=[directory]PC2.EXE:ehp4.
  183. :p.where where :hp4.[path]:ehp4. is the full pathname of the directory (including
  184. the drive letter, e.g. C&colon.\PMAPPS\PC2\PC2.EXE) and :hp4.[directory]:ehp4. is the
  185. pathname of the directory (excluding the drive letter, e.g. \PMAPPS\PC2\PC2.EXE)
  186. you installed PC/2.
  187. :warning.
  188. If you specify only the directory you installed PC/2 into, then be sure that this
  189. directory is found on your boot drive.
  190. :ewarning.
  191. This feature is useful when using PC/2 as the shell process for an OS/2 maintenance
  192. setup created by :hp4.BOOTOS2:ehp4..
  193. See the :link reftype=hd res=&ID_COMPATIBILITY..compatibility section :elink.
  194. for more information.
  195. :p.The next time you boot, PC/2 will be started as a replacement for the WPS.
  196. Be careful, OS/2 seems to dislike any parameters added to the program
  197. started as a replacement for the WPS!
  198. Of course, you can start the WPS from a command prompt by typing
  199. :hp4.START PMSHELL:ehp4. or add a corresponding entry to PC/2.
  200. :p.:warning.
  201. When running PC/2 as the Workplace Shell process, you can't terminate
  202. PC/2, because the WPS process should not terminate, neither by closing
  203. PC/2 from the Window List, nor by closing it from the :hp9.Exit:ehp9.
  204. smarticon or the :hp9.Exit OS/2:ehp9. menuentry.
  205. Any WPS process will automatically be restarted by OS/2 immediately following its
  206. termination (you may notice this fact when the WPS traps, it will restart
  207. immediately, and rebuild your desktop).
  208. :warning.:hp4.PC/2 has not been tested on all OS/2 versions or installed software
  209. and hardware :ehp4.(simply because I don't have them):hp4., so there is no guarantee
  210. of PC/2 being bugfree!:ehp4..
  211. :eul.
  212. :p.:link reftype=hd res=&ID_ABOUTDIALOG..<Backward>:elink.
  213.                                 :link reftype=hd res=&ID_GENERALHELP..<Forward>:elink.
  214.  
  215.  
  216. .****************************************************************************************
  217. .*--------------------------------------------------------------------------------------*
  218. .* The user selected general help from the PC/2 main help panel.                        *
  219. .*--------------------------------------------------------------------------------------*
  220. .****************************************************************************************
  221.  
  222. :h1 res=&ID_GENERALHELP..General Help for PC/2
  223. :p.PC/2 - Program Commander is an addon or replacement for the WPS (Workplace Shell).
  224. The user can configure a Popup Menu that will appear when mouse button 1 is clicked
  225. anywhere on the Desktop. From this freely configurable Popup Menu, you can select
  226. an entry - which is launched immediately.
  227. :p.PC/2 lets you define Hotkeys too. Pressing the Hotkey defined for a program the
  228. program is switched into the foreground or, if it is not already running, launched
  229. immediately.
  230. :p.PC/2 also allows you to expand the Desktop up to an 81-fold Virtual
  231. Desktop, you may define Hotkeys to switch to an application on any Virtual Desktop
  232. by a simple keypress.
  233. :p.You may also switch to any Virtual Desktop directly by doubleclicking with mouse
  234. button 1 on PC/2's Overview Window.
  235. :p.PC/2 also enables you to define a UNIX-style behavior of switching the input focus
  236. from one window to another. This allows you to have the input focus in a window which
  237. is not the topmost window. (Sounds complicated, but try it; you'll like it!)
  238. :p.PC/2 additionally provides a simple Spooler interface. You can manage the printer
  239. queues and jobs on your local machine - a necessity when using PC/2 as a WPS
  240. replacement (because without the WPS you have no spooler available unless you use
  241. PC/2's spooler interface).
  242. :p.PC/2 allows you to customize the fonts used by the Popup Menu, the Overview
  243. Window and the Spooler window, just by dragging fonts from the Font Palette to
  244. PC/2.
  245. :p.:hp2.Warning:ehp2.! On some display drivers you may not be able to set up every font
  246. lable in the Font Palette exactly. Instead, you may just get a similar font.
  247. :p.For example. the Popup Menu might look like:
  248. :artwork name='Pc2ipc01.bmp' align=left.
  249. :p.You have selected the item :hp4.Prompts:ehp4., which is a Submenu containing
  250. seven more items. E.g., the item :hp4.OS/2 Window:ehp4. starts a windowed OS/2
  251. command prompt, when selected. This Popup Menu is fully configurable - you may add,
  252. change or remove items. An item can either be a Submenu containing more items,
  253. the name of a program, or a Menu Control.
  254. :p.The complete Popup Menu can be modified, but the Menu Control :hp9.Desktop Menu:ehp9.
  255. must be defined before the Popup Menu will be displayed after mouse button 1 clicks.
  256. If you have not defined this Menu Control, the :hp9.Setup:ehp9. dialog appears after
  257. mouse button 1 clicks enabling you to add this control.
  258. :p.Your configuration is read from the default profile :hp9.PC2.CFG:ehp9. each time
  259. PC/2 is started and saved every time you :hp9.save:ehp9. your changes.
  260. You can of course overwrite the default
  261. configuration filename to a file named :hp4.Filename.ext:ehp4. by invoking PC/2 with
  262. the following commandline option:
  263. :p.:hp4.PC2 [-Profile Filename.ext]:ehp4. or
  264. :p.:hp4.PC2 [/Profile Filename.ext]:ehp4.
  265. :p.where :hp4.Filename.ext:ehp4. conforms to a filename of a PC/2 profile. Both FAT
  266. and HPFS filename naming conventions are accepted. A few
  267. sample configuration files are provided in this package.
  268. :p.As the default, the Popup Menu appears if you double-click once on the Desktop,
  269. if no option, or the following option is specified:
  270. :p.:hp4.PC2 [-DoubleClick]:ehp4. or
  271. :p.:hp4.PC2 [/DoubleClick]:ehp4.
  272. :p.You may select a single-click instead, by invoking PC/2 with the following
  273. commandline option:
  274. :p.:hp4.PC2 [-SingleClick]:ehp4. or
  275. :p.:hp4.PC2 [/SingleClick]:ehp4.
  276. :p.Please be sure not to combine both click behavior options.
  277. If you don't specify this option, a user-modifiable default behavior is taken
  278. from :hp9.PC2.INI:ehp9..
  279. Of course the options changing the click behavior and the configuration
  280. filename options may be combined.
  281. :p.You may disable that PC/2 automatically starts the sessions having
  282. the style :hp9.Autostart:ehp9., but PC/2 does preserve this style in
  283. the configuration file save.
  284. This may prove useful when customizing the Popup Menu.
  285. To disable the :hp9.Autostart:ehp9. style, invoke PC/2 with the following
  286. commandline option:
  287. :p.:hp4.PC2 [-NoAutostart]:ehp4. or
  288. :p.:hp4.PC2 [/NoAutostart]:ehp4.
  289. :p.You may also select the behavior to ignore the :hp9.Autostart:ehp9. style, by
  290. selection of the :hp9.Ignore Autostart:ehp9. checkbox on the
  291. :link reftype=hd res=&DDID_PAGE1..Virtual Desktop Settings:elink. dialog.
  292. :p.Because some people use PC/2 as a WPS replacement, PC/2 contains a
  293. Menuitem to ShutDown OS/2. By selecting this entry, it is safe to power off your PS/2 or
  294. PC after all disk activity has been stopped, although no windows are closed.
  295. If you run PC/2 as a WPS replacement, you may want to start the WPS either by
  296. starting :hp4.PMSHELL.EXE:ehp4. from a command prompt or by starting a
  297. :hp4.PMSHELL:ehp4. Menuitem with PC/2.
  298. You then can follow the WPS initialization by heavy disk access and
  299. buildup of your Desktop with objects.
  300. PC/2 requires to "see" the Desktop (in technical terms the window handle
  301. of the Desktop) to be able to catch mouse button 1 clicks. If you start
  302. the WPS, the Desktop also undergoes changes too. Therefore, PC/2 checks regularly if the
  303. Desktop has changed, so you may have to wait a little bit
  304. after the WPS was started, before PC/2 recognizes mouse clicks again..
  305. :p.I would strongly recommend starting PC/2 during OS/2 boot. If you don't
  306. want to use the default profile, don't forget to add :hp4./Profile Filename.exe:ehp4.
  307. to the :hp4.Parameters:ehp4. entryfield in the Settings of PC/2.
  308. :p.The reason why I wrote this utility was primarily that many programs
  309. installed on a system require many folders and icons on the Desktop. But to
  310. start a program, I don't want to open and close folders, so I made shadows on
  311. the Desktop messing it up, and adding overhead, thereby slowing things down.
  312. :p.Using PC/2 as a WPS replacement, you will get:
  313. :ul compact.
  314. :li.a remarkable performance increase and boot time decrease, especially on systems
  315. equipped with less than 8 MB memory,
  316. :li.improved overall system performance and response times due to less
  317. swapping.
  318. :li.the ability to run multimedia or network software with acceptable
  319. performance, even with 8 MB or less,
  320. :li.or the ability to create a maintainance partition (for example by using
  321. :link reftype=hd res=&ID_COMPATIBILITY..BOOTOS2:elink.) without losing immediate
  322. access to your favorite programs.
  323. :eul.
  324. :p.The solution I prefer, is to click on the Desktop - this gives me an
  325. immediate menu, from which I can easily select an application to be launched from
  326. this menu, or alternatively launch (or switch) to an application by simply pressing
  327. a Hotkey.
  328. So PC/2 will help you to start your programs more quickly, without needing to open
  329. and close folders, and all the overhead of the WPS. Of course, to gain this speed, and
  330. and overhead savings, you lose some of the "niceties" of the WPS, for instance, you can't
  331. start applications from icons.
  332. :p.:link reftype=hd res=&ID_INSTALLATIONHELP..<Backward>:elink.
  333.                                 :link reftype=hd res=&ID_CONCEPTSHELP..<Forward>:elink.
  334.  
  335.  
  336. .****************************************************************************************
  337. .*--------------------------------------------------------------------------------------*
  338. .* The user selected concepts from the PC/2 main help panel.                            *
  339. .*--------------------------------------------------------------------------------------*
  340. .****************************************************************************************
  341.  
  342. :h1 res=&ID_CONCEPTSHELP..Concepts of PC/2
  343. :p.The basic idea behind PC/2 is to have a configurable Popup Menu available
  344. to start programs quickly, without having to open and close folders.
  345. :p.The Popup Menu, popped up when you click with mouse button 1 anywhere on
  346. the Desktop (just like button 2 for the Desktop Menu), consists of :hp4.menu items:ehp4.
  347. (sometimes called :hp4.menuentries:ehp4.).
  348. An item may be a Submenu, which contains further items, or the title of
  349. an Application, or Menu Control items. A Submenu contains of a little arrow right
  350. beside the title of the Submenu. (Mouse button 1 is on most systems the left
  351. mouse button.)
  352. :p.To change the font of the Popup Menu, drag a font from the Font Palette to
  353. the smarticon bar of PC/2's Overview Window. This font will be saved when you
  354. exit PC/2.
  355. :p.You can imagine this Popup Menu as a tree, with Submenus as branches,
  356. and applications as leaves on
  357. a particular branch. PC/2 allows you to freely build your own tree. To do so
  358. you have to click on the Desktop with the left mouse button and select
  359. :hp4.Setup&rarrow.Config Menu:ehp4. from the Popup Menu. A dialog box appears, where you
  360. can add, modify or remove Submenus and Applications. The listbox displays all
  361. Submenus and Applications of one level (like a cut through the tree). Of
  362. course you may change this level up and down.
  363. :p.Note: You must have defined the Menu :hp4.Configure Menu:ehp4. before PC/2 will display
  364. its Popup Menu on mouse button 1 clicks. If you don't define it, PC/2
  365. displays its Setup dialog after each click until you have added this control.
  366. :p.:link reftype=hd res=&ID_GENERALHELP..<Backward>:elink.
  367.                                 :link reftype=hd res=&ID_USINGHELP..<Forward>:elink.
  368.  
  369.  
  370. .****************************************************************************************
  371. .*--------------------------------------------------------------------------------------*
  372. .* The user selected help for starting a program from PC/2.                             *
  373. .*--------------------------------------------------------------------------------------*
  374. .****************************************************************************************
  375.  
  376. :h1 res=&ID_USINGHELP..Help for starting a program via PC/2
  377. :p.After you have configured the PC/2 Popup Menu, you click on the Desktop
  378. with mouse button 1, select the Application you want to start and click on it.
  379. The Application will be started as if you were clicking on an icon.
  380. :p.One advantage starting an Application this way is that you can manipulate
  381. many startup parameters governing how the Application is started.  This is one thing you can't do with
  382. many icons. E.g., you can start it invisibly (useful for a backup program), and making
  383. it only visible by selecting it from the window list. You may also specify the size
  384. of the Application or that you want to start it in the background. You can even set its priority
  385. or define a Hotkey to switch to it.
  386. :p.You can also start WPS Objects that are not Folder (WPFolder class) or Program
  387. (WPProgram class) type WPS Objects, if they have an ObjectID defined.
  388. Most OS/2 WPS Objects get installed with a predefined ObjectID by default during
  389. installation (see :hp4.OS2_20.RC:ehp4. for a more detailed information), and many
  390. applications (e.g. IBM C Set++, Toolkit, ...) defined an ObjectID for their WPS
  391. Objects too.
  392. :p.Folder or Program WPS Objects and other WPS Objects that have a defined
  393. ObjectID can be dumped automatically by WPS 2 PC/2, to create corresponding
  394. Popup Menu entries.
  395. :p.You can also open any WPS Folder by PC/2 after dragging the folder onto PC/2
  396. to create a corresponding menuentry.
  397. :warning.
  398. You can start WPS Objects via their ObjectID and open folders only if the WPS is running,
  399. because only the WPS can process the request made by PC/2 to open them.
  400. :ewarning.
  401. :p.To close an Application, select the corresponding option from the Application
  402. or terminate it from the Window List.
  403. Alternatively, you may use PC/2's :hp9.Kill:ehp9. smarticon to close the application's window.
  404. :p.:link reftype=hd res=&ID_CONCEPTSHELP..<Backward>:elink.
  405.                                 :link reftype=hd res=&ID_CONFIGDIALOG..<Forward>:elink.
  406.  
  407.  
  408. .****************************************************************************************
  409. .*--------------------------------------------------------------------------------------*
  410. .* The user selected help from the Configuration/Setup PC/2 dialog box.                 *
  411. .*--------------------------------------------------------------------------------------*
  412. .****************************************************************************************
  413.  
  414. :h1 res=&ID_CONFIGDIALOG..Help for PC/2 Setup
  415. :p.In the listbox, all Submenus and Applications of one level (imagine a cut
  416. through the tree) are displayed. A Submenu has an arrow right beside it.
  417. :p. For instance, assume
  418. the listbox contains 6 Submenus and 2 Applications resulting in the following Popup Menu:
  419. :artwork name='Pc2ipc02.bmp' align=left.
  420. :p.Select the item :hp4.Config Menu:ehp4. to configure the items appearing in the
  421. Popup Menu. The :hp9.Setup:ehp9. dialog appears, allowing you to adjust all items of
  422. the current level.
  423. :p.You may want to get into the Submenu :hp4.Prompts:ehp4.. Just select the Submenu
  424. :hp4.Prompts:ehp4. and click on the button :hp4.Level Down >>:ehp4.. The listbox
  425. will now be filled with all Submenus and Applications of the Submenu :hp4.Prompts:ehp4..
  426. To get one level up, simply press :hp4.<< Level Up:ehp4.. If nothing seems to
  427. change, you may be either at the highest level (the root of the tree) or at
  428. the deepest level (a leaf of the tree) of a Submenu.
  429. :p.To configure the Popup Menu, just select an item and/or invoke functions by
  430. selecting the following pushbuttons..
  431. :dl tsize=12 break=fit.
  432. :dthd.:hp4.Pushbutton&colon.
  433. :ddhd.Description&colon.:ehp4.
  434. :dt.:hp9.Level Down:ehp9.
  435. :dd.After selecting a Submenu, click on :hp9.Level Down:ehp9.. The listbox contents
  436. are replaced with the Menuentries of the Submenu.
  437. :p.You may alternatively doubleclick on a Submenu to change to.
  438. :dt.:hp9.Level Up:ehp9.
  439. :dd.Selecting :hp9.Level Up:ehp9. chains up into the next upper Submenu level, unless
  440. the root level is reached.
  441. :dt.:hp9.Add Submenu:ehp9.
  442. :dd.To add a Submenu, press the button :hp9.Add Submenu:ehp9..
  443. The :hp4.Menu Installation:ehp4. dialog is displayed, allowing you to add a new
  444. Submenu. After pressing :hp4.Ok:ehp4. in that dialog, the Submenu
  445. will be inserted either :hp4.after:ehp4. the selected item, or at
  446. the end of the list, if no item was selected.
  447. :dt.:hp9.Add Program:ehp9.
  448. :dd.To add an application, press the button :hp9.Add Program:ehp9..
  449. The :hp4.Program Installation:ehp4. dialog is displayed, allowing you to add a new
  450. Application. After pressing :hp4.Ok:ehp4. in that dialog, the
  451. Application will be inserted :hp2.after:ehp2. the selected item, or at
  452. the end of the list, if no item was selected.
  453. :dt.:hp9.Add Control:ehp9.
  454. :dd.To add a Control press the button :hp4.Add Control:ehp4., and a dialog
  455. appears, allowing you to add Menu Controls predefined by PC/2.
  456. :dt.:hp9.Change Entry:ehp9.
  457. :dd.To change a Menuentry that corresponds to an executable application, select
  458. the application and then invoke :hp9.Change Entry:ehp9. to display the
  459. :hp4.Program Installation:ehp4. dialog.
  460. :p.Alternatively, you may just doubleclick on a Menuentry to display the
  461. :hp4.Program Installation:ehp4. dialog.
  462. :dt.:hp9.Remove Entry:ehp9.
  463. :dd.,To remove an application or an empty Submenu, select the Menuitem and click
  464. on the button :hp9.Remove Entry:ehp9..
  465. :dt.:hp9.Resort Menu:ehp9.
  466. :dd.To resort a Submenu press the button :hp4.Resort Menu:ehp4..
  467. A new dialog is displayed allowing you to resort the currently listed Submenu.
  468. Press here to get more information about the
  469. :link reftype=hd res=&RDID_RESORTDIALOG..Resort:elink. dialog.
  470. :edl.
  471. :p.If the listbox is empty, you can't remove or change anything. You also can't
  472. select any item, but in this case, you can add a Submenu or an Application by
  473. just pressing the buttons, without needing to select an item.
  474. :dl tsize=12 break=fit.
  475. :dt.:artwork name='Wps2Pc2.bmp' runin align=left.(WPS 2 PC/2's icon)
  476. :dd.By using the listbox on this dialog page together with WPS 2 PC/2, you can
  477. easily convert WPS Objects into menuitems for PC/2's Popup Menu.
  478. Assuming that you have extracted details about WPS Objects by dropping them
  479. onto WPS 2 PC/2's icon on the Desktop, just drag them from WPS 2 PC/2's
  480. :hp9.Status:ehp9. bitmap and drop it onto the :hp9.Submenu/Program Configuration:ehp9.
  481. listbox.
  482. PC/2 then generates Popup Menu items automatically and adds them to your Popup Menu.
  483. This lets you copy the settings of WPS Objects easily, without entering them
  484. manually.
  485. :p.For more information about WPS 2 PC/2 just select help from the
  486. WPS 2 PC/2 WPS Object, which you can install by PC/2's
  487. installation program, if it is missing.
  488. :edl.
  489. :p.Once you have configured your tree of Submenus and Applications, just press
  490. :hp4.Save:ehp4. to bring them into effect and save them to the profile, :hp2.or:ehp2.
  491. :hp4.Cancel:ehp4. to make them temporarily effective, but without saving them
  492. to the profile on disk.
  493. :p.:link reftype=hd res=&CDID_HELP_1..Example 1:elink.
  494.      :link reftype=hd res=&CDID_HELP_2..Example 2:elink.
  495. :p.:link reftype=hd res=&ID_CONCEPTSHELP..<Backward>:elink.
  496.                                 :link reftype=hd res=&MIID_MENUDIALOG..<Forward>:elink.
  497.  
  498. .*--------------------------------------------------------------------------------------*
  499. .* The user selected example 1 from the Setup PC/2 help.                                *
  500. .*--------------------------------------------------------------------------------------*
  501.  
  502. :h2 res=&CDID_HELP_1..Setup example 1
  503. :p.Assume the listbox contains the following items resulting in the following Popup Menu:
  504. :artwork name='Pc2ipc03.bmp' align=left.
  505. :p.You want to remove the Submenu :hp4.References:ehp4., rename the Submenu
  506. :hp4.Tools:ehp4. to :hp4.Utilities:ehp4. and add a Submenu :hp4.Demos:ehp4..
  507. :ol compact.
  508. :li.Select the item :hp4.References:ehp4.. You can now press the button
  509. :hp4.Remove Entry:ehp4. to remove the submenu, but only if this Submenu is empty.
  510. If it isn't empty, get into this Submenu by pressing :hp4.Level Down >>:ehp4.
  511. and remove all items.
  512. :li.To rename :hp4.Tools:ehp4. to :hp4.Utilities:ehp4. select the item
  513. :hp4.Tools:ehp4. and press the button :hp4.Change Entry:ehp4.. A dialog box
  514. appears allowing you to rename this item.
  515. :li.Select the item, after which you want to insert the new Submenu. Then press
  516. the button :hp4.Add Submenu:ehp4. to add one. A dialog box appears allowing you
  517. to enter the title of a new Submenu.
  518. :eol.
  519.  
  520. .*--------------------------------------------------------------------------------------*
  521. .* The user selected example 2 from the Setup PC/2 help.                                *
  522. .*--------------------------------------------------------------------------------------*
  523.  
  524. :h2 res=&CDID_HELP_2..Setup example 2
  525. :p.Assume that you have remove all items, leading to an empty listbox. Now
  526. you want to add the Applications :hp4.Backup:ehp4. and :hp4.Terminal:ehp4..
  527. :ol compact.
  528. :li.The listbox is empty, so you can't select any item. Just press the
  529. button :hp4.Add Program:ehp4. and a dialog box appears, allowing you to
  530. enter all the data required for the new Application.
  531. :li.Now the listbox contains the item :hp4.Backup:ehp4., select it and
  532. press the button :hp4.Add Program:ehp4. a second time. Again you get
  533. a dialog box, where you enter the data for the Application :hp4.Terminal:ehp4..
  534. :eol.
  535.  
  536.  
  537. .****************************************************************************************
  538. .*--------------------------------------------------------------------------------------*
  539. .* The user selected help from the Menu installation PC/2 dialog box.                   *
  540. .*--------------------------------------------------------------------------------------*
  541. .****************************************************************************************
  542.  
  543. :h1 res=&MIID_MENUDIALOG..Help for PC/2 Menu Installation
  544. :p.This dialog is used to get a name for a Submenu, which is then added to the
  545. Popup Menu. You can enter whatever you like, e.g to make a Submenu that contains
  546. OS/2 utilities you might enter :hp4.Utilities:ehp4..
  547. :p.If you have chosen in the previous dialog to change the name of a Submenu, then
  548. overwrite the pre-entered text.
  549. :p.Press :hp4.Ok:ehp4. to accept, or press :hp4.Cancel:ehp4. to ignore the data
  550. you entered.
  551. :p.:link reftype=hd res=&MIID_HELP_1..Examples:elink.
  552. :p.:link reftype=hd res=&ID_CONFIGDIALOG..<Backward>:elink.
  553.                                 :link reftype=hd res=&PIID_PROGRAMDIALOG..<Forward>:elink.
  554.  
  555. .*--------------------------------------------------------------------------------------*
  556. .* The user selected examples from the Menu installation PC/2 help.                     *
  557. .*--------------------------------------------------------------------------------------*
  558.  
  559. :h2 res=&MIID_HELP_1..Menu installation examples
  560. :p.Assume you have entered the following Submenu Titles:
  561. :dl tsize=12 break=fit.
  562. :dthd.:hp4.Title&colon.
  563. :ddhd.Purpose&colon.:ehp4.
  564. :dt.Prompts
  565. :dd.You want to add a Submenu named :hp4.Prompts:ehp4., that contains OS/2 and DOS
  566. fullscreen and windowed command prompts.
  567. :dt.Spreadsheets
  568. :dd.You want to add a Submenu named :hp4.Spreadsheets:ehp4. for your spreadsheet
  569. programs, such as Lotus 123/G or Excel.
  570. :edl.
  571.  
  572.  
  573. .****************************************************************************************
  574. .*--------------------------------------------------------------------------------------*
  575. .* The user selected help from the Program installation PC/2 dialog box.                *
  576. .*--------------------------------------------------------------------------------------*
  577. .****************************************************************************************
  578.  
  579. :h1 res=&PIID_PROGRAMDIALOG..Help for PC/2 Program Installation
  580. :p.This dialog is a notebook consisting of the following pages:
  581.  
  582. :dl tsize=12 break=fit.
  583. :dthd.:hp4.Page&colon.
  584. :ddhd.Tab title&colon.:ehp4.
  585. :dt.:hp9.Application:ehp9.
  586. :dd.This page is used to define an application's title, path, filename,
  587. working directory, command-line parameters and DOS settings.
  588. :dt.:hp9.Session:ehp9.
  589. :dd.This page determines the type of session you want to add. Select
  590. between PM, OS/2, DOS and WIN-OS2 sessions.
  591. :dt.:hp9.Style:ehp9.
  592. :dd.This page can be used to define the appearance of an application. If the
  593. application doesn't overwrite attributes, you may define the style, size and
  594. position.
  595. :dt.:hp9.Hotkey:ehp9.
  596. :dd.This page is used to define a Hotkey which will switch to the application
  597. and bring it into the foreground.
  598. :warning.
  599. If you don't have filled in the :hp9.Window Name:ehp9. entryfield correctly
  600. on this notebook page, you will not be able to use PC/2 features successfully,
  601. including Hotkeys, specifying the sessions startup position or keeping the
  602. session on the active Desktop.
  603. I strongly recommend to read the online help, including the Frequently
  604. asked chapter, carefully.
  605. :ewarning.
  606. :dt.:hp9.Priority:ehp9.
  607. :dd.This page can be used to overwrite the default priority assigned to an
  608. application.
  609. :warning text='Caution:'.Changing the priority may cause serious problems, because
  610. the application may be set to consume the full CPU!
  611. :ewarning.
  612. :dt.:hp9.Environment:ehp9.
  613. :dd.This page is used to add environment variables to, or to replace the
  614. environment inherited from PC/2 to the application started from
  615. PC/2's Popup Menu.
  616. :edl.
  617. :p.Press :hp4.Ok:ehp4. to accept, or press :hp4.Cancel:ehp4. to ignore the data
  618. you entered in all notebook pages.
  619. :p.For more information about one of the above notebook pages, select:
  620. :ul compact.
  621. :li.:link reftype=hd res=&PIID_PAGE1..Application Settings:elink.
  622. :li.:link reftype=hd res=&PIID_PAGE2..Session Settings:elink.
  623. :li.:link reftype=hd res=&PIID_PAGE3..Style Settings:elink.
  624. :li.:link reftype=hd res=&PIID_PAGE4..Hotkey Settings:elink.
  625. :li.:link reftype=hd res=&PIID_PAGE5..Priority Settings:elink.
  626. :li.:link reftype=hd res=&PIID_PAGE6..Environment Settings:elink.
  627. :eul.
  628. :p.:link reftype=hd res=&PIID_EXAMPLE1..Example 1:elink.
  629. :p.:link reftype=hd res=&MIID_MENUDIALOG..<Backward>:elink.
  630.                                 :link reftype=hd res=&MDID_CONTROLDIALOG..<Forward>:elink.
  631.  
  632.  
  633. .*--------------------------------------------------------------------------------------*
  634. .* The user selected help from the Program installation Application notebook page.      *
  635. .*--------------------------------------------------------------------------------------*
  636. :h2 res=&PIID_PAGE1..Application Settings
  637. :p.This dialog is used to get the title, the path and filename, the working
  638. directory and parameters of a Menuitem, which is then added to the Popup Menu.
  639. :p.For a normal user it is the easiest way to use the following guidelines.
  640. According to the type of application you add, some fields may not be editable
  641. or visible:
  642. :dl tsize=12 break=fit.
  643. :dthd.:hp4.Fieldname&colon.
  644. :ddhd.You would enter&colon.:ehp4.
  645. :dt.:hp9.Program Title&colon.:ehp9.
  646. :dd.Here you enter the name which should appear on the applications's titlebar,
  647. which may be overwritten by some applications.
  648. For OS/2 and DOS windows, this will also be the title in the window list.
  649. You may also name the Objects here, you want to add.
  650. :p.For better navigation through the Popup Menu, you may add a tilde (~).
  651. When a menuentry has a tilde before a letter, the letter is treated as a
  652. mnemonic. After activating the Popup Menu, you can type a mnemonic defined
  653. for a session to start it, instead of selecting it with the mouse or
  654. keyboard.
  655. :p.When defining a mnemonic, ensure that the entryfield :hp9.Window Name:ehp9.
  656. on the :link reftype=hd res=&PIID_PAGE4..:hp4.Hotkey Settings:ehp4.:elink.
  657. page is filled in correctly.
  658. :dt.:hp9.Path and Filename&colon.:ehp9.
  659. :dd.Here you enter the fully qualified path and filename. E.g., you might enter
  660. :hp4.c&colon.\os2\cmd.exe:ehp4. to obtain an OS/2 command prompt, or
  661. :hp4.c&colon.\os2\mdos\qbasic.exe:ehp4. to start the basic interpreter.
  662. :p.If the executable is located in the path specified in the
  663. :hp9.Working Directory:ehp9. entryfield, you may supply the executable's name
  664. excluding path information.
  665. :p.Here you also enter the name of WPS Objects.
  666. WPS Objects are referred either by their defined Object ID (Identity) e.g
  667. :hp4.<WP_DRIVES>:ehp4. or :hp4.<WP_INST>:ehp4. for preinstalled Objects,
  668. of e.g. :hp4.<WP_USER_CALC>:ehp4. or :hp4.<WP_WIN_PBRUSH>:ehp4. which
  669. can be extracted by the WPS 2 PC/2 WPS Object, unless they
  670. represent Folder or Program objects (then their settings are taken instead
  671. of their ObjectID, which may be available too).
  672. Preinstalled WPS Objects usually have a defined name; you may need to take a
  673. look into the file :hp4.OS2_20.RC:ehp4. to get further information.
  674. :p.PC/2 can only launch WPS Objects named by their defined ID, so be careful
  675. to get either the correct ID from :hp4.OS2_20.RC:ehp4. or by extracting the
  676. WPS Object in question by using WPS 2 PC/2.
  677. You can't use the Program Template to create Objects if you want them to
  678. add to PC/2, because PC/2 can't define the Object ID of such Objects,
  679. so try to use any installation routine that probably creates a Program object
  680. with an ObjectID.
  681. :p.Here you would also enter the path and filename of a seamless WIN-OS2
  682. application. WIN-OS2 applications prefixed by a :hp4.!:ehp4. (exclamation mark)
  683. immediately before the filename get started minimized, applications
  684. prefixed by a :hp4.^:ehp4. (caret) get started maximized. 
  685. To start more than one application, separate applications by a
  686. :hp4.,:ehp4. (comma). (By the way, this is a feature of OS/2 and should be therefore
  687. also available for your WIN-OS2 WPS Objects!)
  688. :dt.:hp9.Working Directory&colon.:ehp9.
  689. :dd.Here you enter the directory where the EXE, HLP and DLL files of your
  690. application are located. Before the application is started, a change drive
  691. and change directory call is made to make this directory the working directory.
  692. :dt.:hp9.Parameters&colon.:ehp9.
  693. :dd.Here you enter the parameters passed to the application. PC/2 allows you
  694. to be asked for commandline parameters before the application is invoked.
  695. Press on :link reftype=hd res=&SUID_STARTUPDIALOG..Commandline Parameters:elink.
  696. to find out more about this feature. Assume that you want
  697. to use VIEW.EXE to view the command reference.  You would enter:
  698. :p.:hp4.c&colon.\os2\book\cmdref.inf:ehp4..
  699. :p.If you have selected the WIN-OS2 Program Manager :hp4.PROGMAN.EXE:ehp4.
  700. to be started as a seamless WIN-OS2 application, you may enter 1 and only
  701. 1 additional WIN-OS2 application.  This application will be started by the Program
  702. Manager in the same WIN-OS2 session. The Program Manager itself will be
  703. started minimized. You may also change the application's style by using
  704. :hp4.!:ehp4., :hp4.^:ehp4. and :hp4.,:ehp4. characters as described in
  705. :hp9.Path and Filename:ehp9..
  706. :dt.:hp9.DOS Settings&colon.:ehp9.
  707. :dd.Selecting this pushbutton opens the standard OS/2 DOS settings dialog
  708. (OS/2 DOS support must be installed of course). You can then customize the
  709. DOS settings exactly as you would do with a WPS program Object. The settings
  710. are then set into the multiline entryfield. You can of course write them by
  711. hand, but this is discouraged, because of spelling mistakes easily made.
  712. DOS settings are valid for DOS applications, and WIN-OS2 is just a special
  713. DOS application. By default, for a new DOS application the DOS Settings
  714. :hp4.IDLE_SECONDS=5:ehp4. and :hp4.IDLE_SENSITIVITY=100:ehp4. are defined.
  715. :p.As seamless WIN-OS2 sessions are also DOS type sessions, you may strongly
  716. want to adjust the Settings of WIN-OS2 sessions for better WIN-OS2 performance
  717. than the default settings, e.g you may want to increase the memory by
  718. adding DPMI_MEMORY_LIMIT=8.
  719. :dt.:hp4.File Find:ehp4.&colon.
  720. :dd.If you click on this button, the standard file dialog of OS/2 is displayed
  721. where you can select the application you want to install. The application
  722. parameters (e.g path) will then be inserted automatically in the
  723. corresponding entryfields.
  724. :dt.Drag &. Drop:
  725. :dd.You can alternatively use the Drag &. Drop operation to create a Program
  726. Popup Menu entry.
  727. There are 3 basic kind of objects you may want to drop onto this notebook page:
  728. :p.1. Program objects, which are *.EXE or *.COM files of PM, OS/2 windowed, DOS
  729. or WIN-OS2 applications.
  730. Just select one application from, say, a Drives object or from
  731. a filemanager, drag it into the dialog over any area that accepts it and
  732. drop it.
  733. :p.2. Batch file objects, which are *.CMD or *.BAT type batch files for OS/2 and
  734. DOS command processors (CMD.EXE and COMMAND.COM).
  735. These batch files are automatically installed to be run through a copy of their
  736. command processors (see the online OS/2 command reference for more information
  737. about CMD.EXE and COMMAND.COM).
  738. :p.3. WPS Folder Objects, which are opened by the WPS on request of PC/2 when
  739. selected from the Popup Menu.
  740. If the WPS is not running, PC/2 can't open menuentries of this type.
  741. :p.You can't create a menuentry for any object of a different type by dropping
  742. them onto this dialog, you have to use WPS 2 PC/2 in this case.
  743. Data extracted from the WPS by WPS 2 PC/2 can then be dropped onto
  744. PC/2's :link reftype=hd res=&ID_CONFIGDIALOG..Setup dialog:elink..
  745. :p.The notebook settings will be adjusted according to the application you dragged into.
  746. :edl.
  747. :p.For a power user, the data entered may be less. Because the OS/2 API
  748. DosStartSession() is used to start the application, all rules for this
  749. API apply as described in the toolkit. Hence you may leave the entryfield
  750. Path and Filename blank and then select from the
  751. :link reftype=hd res=&PIID_PAGE2..Session Settings:elink. group an
  752. OS/2 or DOS fullscreen or window, to get a command prompt.
  753. :p.You may also start an application indirectly through a secondary command
  754. processor by specifying :hp4.c&colon.\os2\cmd.exe:ehp4. as the Path and Filename and
  755. use then the :hp4./C:ehp4. or :hp4./K:ehp4. option of CMD.EXE in the
  756. Parameters entryfield.
  757. (For further information, type :hp4.start view cmdref cmd:ehp4. in an OS/2
  758. command prompt, to get online information about the command processor.)
  759. :p.Press :hp4.Ok:ehp4. to accept, or press :hp4.Cancel:ehp4. to ignore the data
  760. you entered in all notebook pages.
  761.  
  762. .*--------------------------------------------------------------------------------------*
  763. .* The user selected help from the Program installation Session notebook page.          *
  764. .*--------------------------------------------------------------------------------------*
  765. :h2 res=&PIID_PAGE2..Session Settings
  766. :p.Here you can select the type of application you want to add.
  767. By default, PC/2 tries to determine the type of an application you installed
  768. via the standard file dialog or via Drag &. Drop.
  769. :dl tsize=12 break=fit.
  770. :dthd.:hp4.Option&colon.
  771. :ddhd.Description&colon.:ehp4.
  772. :dt.:hp9.Determined by WPS:ehp9.
  773. :dd.This default selection lets the WPS choose the type of application when
  774. started.
  775. :dt.:hp9.OS/2 Full-Screen:ehp9.
  776. :dd.The session is a command session, started in full-screen.
  777. :dt.:hp9.OS/2 Window:ehp9.
  778. :dd.The session is a command session, started in a window on PM.
  779. :dt.:hp9.Presentation Manager:ehp9.
  780. :dd.The session is graphical PM application.
  781. :dt.:hp9.DOS Full-Screen:ehp9.
  782. :dd.The session is a DOS command session, started in full-screen.
  783. :dt.:hp9.DOS Window:ehp9.
  784. :dd.The session is a DOS command session, started in a window on PM.
  785. :dt.:hp9.WPS Object:ehp9.
  786. :dd.The Object-ID of the WPS Object to be started is contained in the entryfield
  787. :hp9.Path and Filename&colon.:ehp9.. The session can only be started when the
  788. Object-ID is assigned.
  789. :dt.:hp9.Seamless WIN-OS2:ehp9.
  790. :dd.The session is a seamless WIN-OS2 session. Be sure that your graphics
  791. adapter supports such sessions. Currently all seamless WIN-OS2 sessions
  792. are separate sessions.
  793. :dt.:hp9.Real Mode:ehp9.
  794. :dd.The seamless WIN-OS2 session is started in Real Mode. Real Mode compatibility
  795. is only provided by OS/2 2.0.
  796. :dt.:hp9.Standard Mode:ehp9.
  797. :dd.The seamless WIN-OS2 session is started in Standard Mode.
  798. :dt.:hp9.386 Enhanced Mode:ehp9.
  799. :dd.The seamless WIN-OS2 session is started in 386 Enhanced Mode. 386 Enhanced
  800. mode compatibility is only provided by OS/2 2.1.
  801. :dt.:hp9.Separate Session:ehp9.
  802. :dd.When checked, the seamless WIN-OS2 session in :hp9.Standard Mode:ehp9.
  803. or :hp9.386 Enhanced Mode:ehp9. is started in a separate session (loading
  804. another copy of the WIN-OS2 environment) otherwise the session is started
  805. into a common WIN-OS2 session (loading the WIN-OS2 environment only once).
  806. :edl.
  807. :p.You generally have to verify that the Program Type setting corresponds
  808. to the application you installed, for most programs you can use
  809. :hp9.Determined by WPS:ehp9. if you aren't sure.
  810. :p.According to the Program Type that is selected, some settings may not
  811. be editable or visible.
  812. :p.OS/2 and DOS Fullscreen or Windows are only used if you want to start
  813. a command prompt as the application. In this case, you would usually enter in the
  814. the entryfield Path and Filename of the group Program Data, the path of
  815. the corresponding command processor. An advanced technique to select the
  816. type of command processor only with these radiobuttons is described under
  817. the group :hp9.Program Type:ehp9..
  818. :p.To add a seamless WIN-OS2 session without a corresponding WPS Object
  819. defined, select the :hp9.Seamless WIN-OS2:ehp9. radiobutton.
  820. Another group of buttons will be enabled, allowing you the select the
  821. Settings of the WIN-OS2 session.
  822. Although there is a :hp9.Separate Session:ehp9. checkbox, seamless WIN-OS2
  823. sessions will currently always be started as separate sessions.
  824. :warning.
  825. Under OS/2 2.0 GA, seamless WIN-OS2 sessions may only be started with
  826. the WPS running, otherwise the system hangs.
  827. There also seems to be a problem with a real mode session, because
  828. such a WIN-OS2 session starts to load, but doesn't finish successfully.
  829. Under OS/2 2.1 GA you may start seamless WIN-OS2 sessions with or without
  830. the WPS installed.
  831. :ewarning.
  832. :p.Press :hp4.Ok:ehp4. to accept, or press :hp4.Cancel:ehp4. to ignore the data
  833. you entered in all notebook pages.
  834.  
  835. .*--------------------------------------------------------------------------------------*
  836. .* The user selected help from the Program installation Style notebook page.            *
  837. .*--------------------------------------------------------------------------------------*
  838. :h2 res=&PIID_PAGE3..Style Settings
  839. :p.You can select one of the radiobuttons and any of the checkboxes to
  840. define the style the application should be started with.
  841. :warning.
  842. PC/2 can only request that an application is started by OS/2 with the
  843. selected style, but it can not force the application not to overwrite
  844. these recommendations.
  845. :p.Some applications overwrite the default style settings, for example by
  846. reading them from a profile, and adjust themselfs immediately before
  847. becoming visible.
  848. PC/2 won't be able to prevent applications from doing this, for example,
  849. no-one will be able to move PC/2's :hp9.Overview Window:ehp9. outside
  850. of the Desktop, because PC/2 itself rejects such manipulations.
  851. :ewarning.
  852. PC/2 can't force such applications to accept the styles you selected.
  853. :dl tsize=12 break=fit.
  854. :dthd.:hp4.Option&colon.
  855. :ddhd.Description&colon.:ehp4.
  856. :dt.:hp9.Restored:ehp9.
  857. :dd.The default style defined by the session itself is used.
  858. :dt.:hp9.Maximized:ehp9.
  859. :dd.The session's default style is modified to maximized.
  860. :dt.:hp9.Minimized:ehp9.
  861. :dd.The session's default style is modified to minimized.
  862. :dt.:hp9.Invisible:ehp9.
  863. :dd.The window created by the application is invisible.
  864. :dt.:hp9.No Autoclose:ehp9.
  865. :dd.The window created by the application is not terminated when the application
  866. shuts down.
  867. :dt.:hp9.Background:ehp9.
  868. :dd.The window is created in the background.
  869. This option may be useful for sessions that get started by a :hp9.Hotkey:ehp9. on a
  870. :hp9.Virtual Desktop:ehp9., to avoid switching the focus from the current Desktop.
  871. :dt.:hp9.Autostart:ehp9.
  872. :dd.A session marked with this setting will by started automatically by
  873. PC/2 during PC/2's invocation. This feature works similar as the
  874. :hp4.startup folder:ehp4. of the WPS.
  875. :dt.:hp9.User defined Size &. Position:ehp9.
  876. :dd.The session's default size and position is modified to the values entered.
  877. PC/2 forces the window to the entered position, even when the application overwrites
  878. these values. You may specify a position relative to the origin of the Virtual
  879. Desktops (the "middle" Desktop of the 9 Virtual Desktops), useful when the.
  880. :link reftype=hd res=&ID_DESKTOPDIALOG..Virtual Desktop:elink. feature is
  881. enabled.
  882. :edl.
  883. :p.E.g. if you selected :hp9.Minimized:ehp9., :hp9.Invisible:ehp9. and
  884. :hp9.Background:ehp9. buttons, the application will be started minimized, in the
  885. background and invisible (this may make sense for a backup program).
  886. :p.Press :hp4.Ok:ehp4. to accept, or press :hp4.Cancel:ehp4. to ignore the data
  887. you entered in all notebook pages.
  888.  
  889. .*--------------------------------------------------------------------------------------*
  890. .* The user selected help from the Program installation Hotkey notebook page.           *
  891. .*--------------------------------------------------------------------------------------*
  892. :h2 res=&PIID_PAGE4..Hotkey Settings
  893. :p.PC/2 supports the definition of Hotkeys to switch from the current
  894. application to other applications just by pressing a Hotkey. If the Hotkeyed session
  895. is on another Virtual Desktop, PC/2 switches to this Desktop and switches
  896. the application into the foreground.
  897. :warning.
  898. Hotkeys defined are detected by PC/2 systemwide, that is they may be stolen from
  899. any PM applications, unless the application has defined an accelerator for this
  900. Hotkey, or you have selected :hp9.No systemwide Hotkeys:ehp9. on the
  901. :link reftype=hd res=&DDID_PAGE3..General PC/2 Settings:elink. notebook page.
  902. :ewarning.
  903. PC/2 supports :hp4.0:ehp4. ... :hp4.9:ehp4. and :hp4.A:ehp4. ... :hp4.Z:ehp4.
  904. in combination with either the :hp4.CTRL:ehp4.-Key or the :hp4.ALT:ehp4.-Key
  905. as Hotkeys, giving you 72 different Hotkeys at maximum.
  906. This set of keys is the optimum compromise between CPU requirements and
  907. keys available on all possible keyboard layouts.
  908. :p.If PC/2 can't detect the application running the pressed Hotkey is defined for,
  909. it starts the application as if it was invoked by PC/2's Popup Menu.
  910. Starting applications by pressing a Hotkey is another alternative delivered by PC/2,
  911. when invoking programs
  912. delivered by PC/2.
  913. :p.PC/2 allows you to mark the application as non-movable around the Virtual Desktop.
  914. By defining this style, the application always keeps on the active Desktop, regardless
  915. what :link reftype=hd res=&ID_DESKTOPDIALOG..Virtual Desktop:elink. you are
  916. switching to.
  917. :dl tsize=12 break=fit.
  918. :dthd.:hp4.Control&colon.
  919. :ddhd.Description&colon.:ehp4.
  920. :dt.:hp9.Window Name:ehp9.
  921. :dd.If you have either marked the application as non-movable, defined a Hotkey or
  922. a mnemonic, you must fill this entryfield with a string that equals or is part of
  923. either the application's name on its titlebar or the application's name in the Window List.
  924. If you use one of the two features and you leave the entryfield empty, PC/2 copies the
  925. string from the :hp9.Program Title:ehp9. entryfield into the :hp9.Window Name:ehp9.
  926. entryfield, when you press :hp4.Ok.:ehp4. after automatically removing the tilde
  927. defined for the mnemonic.
  928. :p.Be sure that the string you entered matches only with the current application, because
  929. the first match of this string with any applications's titlebar or its entry in the
  930. window list will be used.
  931. You may want to start your application without these options first, to get its titlebar
  932. name or its entry in the window list.
  933. :warning.I strongly recommend you fill in this entryfield if you experience unexpected results.
  934. PC/2 uses the :hp9.Window Name:ehp9. to identify the current sessions for all running sessions.
  935. :ewarning.
  936. :dt.:hp9.Keep on active Desktop:ehp9.
  937. :dd.Checking this flag keeps the application always on the current Desktop regardless
  938. to which :hp9.Virtual Desktop:ehp9. you move.
  939. :dt.:hp9.Enable Hotkey:ehp9.
  940. :dd.This flag says you want to define a Hotkey for this application. The controls
  941. necessary to define the Hotkey will be enabled.
  942. You may want to select the session started in background, if it will get started
  943. on a :hp9.Virtual Desktop:ehp9., to avoid losing focus from the current Desktop.
  944. :dt.:hp9.Default:ehp9.
  945. :dd.Once you press the Hotkey, the Desktop is switched to the :hp9.Virtual Desktop:ehp9. the
  946. application is located on and activates it.
  947. :dt.:hp9.Maximized:ehp9.
  948. :dd.The same as for :hp9.Default:ehp9. is done, but the applications window is maximized
  949. too.
  950. :dt.:hp9.Restore:ehp9.
  951. :dd.The same as for :hp9.Default:ehp9. is done, but the application's window is restored
  952. too.
  953. :dt.:hp9.CTRL-Key:ehp9.
  954. :dd.You define a Hotkey which ranges from :hp4.0:ehp4. ... :hp4.9:ehp4. and
  955. :hp4.A:ehp4. ... :hp4.Z:ehp4. in conjunction with the :hp4.CTRL:ehp4.-Key.
  956. :dt.:hp9.ALT-Key:ehp9.
  957. :dd.You define a Hotkey which ranges from :hp4.0:ehp4. ... :hp4.9:ehp4. and
  958. :hp4.A:ehp4. ... :hp4.Z:ehp4. in conjunction with the :hp4.ALT:ehp4.-Key.
  959. :p.You must select a key in the range between :hp4.0:ehp4. and :hp4.9:ehp4.
  960. or :hp4.A:ehp4. ... :hp4.Z:ehp4. from the dropdown box, which in
  961. conjunction with the :hp4.CTRL:ehp4.-key or :hp4.ALT:ehp4.-key is used to switch to the
  962. application.
  963. You can define 72 different keys this way as the maximum.
  964. :dt.:hp9.Current Window List:ehp9.
  965. :dd.To define the style non-movable or the Hotkey, you may start the application first
  966. without these options and grab its titlebar name from its window or its window
  967. list name from the :hp9.Current Window List:ehp9..
  968. :edl.
  969. :p.PC/2 prior to version 1.90, PC/2 could not detect Hotkeys pressed in OS/2
  970. or DOS windows, but for other windows, when you have defined a Hotkey,
  971. you had just to press the key on the keyboard that has the defined Hotkey
  972. character labeled on.
  973. Said otherwise, this approach was NLS-independent.
  974. :p.Version 1.90 and above of PC/2 is also able to detect Hotkeys in
  975. OS/2 or DOS windows, but now you have to define the Hotkeys based on the US-keyboard.
  976. The new approach of detecting Hotkeys is now NLS-dependent.
  977. :p.To explain this in more detail, assume that you have a :hp4.German keyboard:ehp4..
  978. A German keyboard looks like the US-keyboard, but has the keys :hp4.Y:ehp4. and
  979. :hp4.Z:ehp4. exchanged, that is the :hp4.Y:ehp4. key is on a German keyboard where
  980. the :hp4.Z:ehp4. key is on a US-keyboard and vice versa.
  981. Now assume you want to define for a program the :hp4.Z:ehp4. key as a Hotkey.
  982. Because the :hp4.Z:ehp4. key on a German keyboard is at the position of the
  983. :hp4.Y:ehp4. key on a US-keyboard, you have to define the letter :hp4.Y:ehp4.
  984. in this dialog's drop-down box, but to use the Hotkey you have to press
  985. :hp4.CTRL:ehp4. or :hp4.ALT:ehp4. in conjunction with the :hp4.Z:ehp4. key.
  986. :p.I'm sorry that this is a bit complicated, but the only way I have found out
  987. to detect Hotkeys both in PM and OS/2 or DOS windows is by using the
  988. :hp4.Scan-Code:ehp4. of a key, which is the same for a key at a certain
  989. physical position on the keyboard for all languages, regardless which
  990. NLS-dependent letter is printed on.
  991. Which letter is printed on a certain physical key on a keyboard is dependent on
  992. the country the keyboard is used at.
  993. Similar, because PC/2 detects the physical position of a key on the
  994. keyboard and not the letter printed on, you have to translate the Hotkey's letter
  995. to the position of the physical key on a US-keyboard that has this letter printed on.
  996. :p.:warning text='Caution!'. All keys defined as Hotkeys in PC/2
  997. are no longer available for other applications, because once a key is
  998. defined as Hotkey no other application except PC/2 gets this key.
  999. This is a limitation of the Hotkey feature, because only this way PC/2
  1000. can ensure that if a Hotkey is defined, the Desktop switches to this application.
  1001. The Hotkey launches the application, if the application, the Hotkey is defined for,
  1002. is not running.
  1003. If you need a certain key, which is defined as a Hotkey in PC/2,
  1004. change the Hotkey to an unused key.
  1005. :p.Even if a :hp4.Hotkey:ehp4. is defined, you may pass this key to a application,
  1006. when the :hp4.SHIFT:ehp4.-key is pressed and hold before the Hotkey. When PC/2
  1007. detects :hp4.SHIFT:ehp4. is pressed together with the Hotkey, it ignores the
  1008. Hotkey by passing it to the application that currently has the focus.
  1009. :ewarning.
  1010. :p.Press :hp4.Ok:ehp4. to accept, or press :hp4.Cancel:ehp4. to ignore the data
  1011. you entered in all notebook pages.
  1012.  
  1013. .*--------------------------------------------------------------------------------------*
  1014. .* The user selected help from the Program installation Priority notebook page.         *
  1015. .*--------------------------------------------------------------------------------------*
  1016. :h2 res=&PIID_PAGE5..Priority Settings
  1017. :p.PC/2 allows you to specify the priority of the applications you start via the
  1018. Popup Menu. OS/2 has the following priority classes and deltas to select from:
  1019. :dl tsize=12 break=fit.
  1020. :dthd.:hp4.Priority Class&colon.
  1021. :ddhd.Description&colon.:ehp4.
  1022. :dt.:hp9.Idle time:ehp9.
  1023. :dd.:hp4.Idle-time:ehp4. is the lowest priority class a session or thread can run under OS/2.
  1024. You may use this option for task that should only be performed if enough CPU-resource is
  1025. available, i.e. for a background NFS (Network File System) Server or BBS.
  1026. :dt.:hp9.Regular:ehp9.
  1027. :dd.If not specified otherwise, the priority class :hp4.Regular:ehp4. is the default class of all
  1028. sessions and threads. For this default class, the priority delta of 0 is the default.
  1029. :dt.:hp9.No Change:ehp9.
  1030. :dd.This option just doesn't change the priority. The application is started with
  1031. priority class Regular and priority delta 0.
  1032. :dt.:hp9.Time Critical:ehp9.
  1033. :dd.:hp4.Time-critical:ehp4. priority class is used for time-critical sessions. Examples
  1034. may be real-time data acquisition.
  1035. :dt.:hp9.Foreground Server:ehp9.
  1036. :dd.:hp4.Foreground Server:ehp4. is the highest priority class available and should be only
  1037. used for small assembly language applications because they really eat up the CPU time.
  1038. :dt.:hp9.Priority Delta:ehp9.
  1039. :dd.The priority delta selectable between 0 and 31 is defined for each priority class.
  1040. I.e., a session with Regular priority class and priority delta 25 has a lower priority
  1041. than a session with Time-critical priority class and priority delta 3.
  1042. :edl.
  1043. :p.:warning text='Extreme caution!'. Changing the priority from the default selection
  1044. may cause serious performance impacts on your system. Be very carefully when
  1045. selecting higher priorities, because the higher the priority, the higher the CPU time-slice
  1046. a session consumes deteriorating overall system performance.
  1047. :p.:hp2.Note!:ehp2. You can't change the priority of DOS session
  1048. (and WIN-OS2 sessions are DOS sessions)
  1049. because allowing this would lock PM for unknown reasons.
  1050. :ewarning.
  1051. :p.For example, if you set an OS/2 command prompt to a Time-critical priority, you may
  1052. not be able to switch to other sessions until the command prompt is waiting for input.
  1053. :p.Press :hp4.Ok:ehp4. to accept, or press :hp4.Cancel:ehp4. to ignore the data
  1054. you entered in all notebook pages.
  1055.  
  1056. .*--------------------------------------------------------------------------------------*
  1057. .* The user selected help from the Program installation Environment notebook page.      *
  1058. .*--------------------------------------------------------------------------------------*
  1059. :h2 res=&PIID_PAGE6..Environment Settings
  1060. :p.PC/2 allows you to specify the environment of the applications you start.
  1061. If you don't specify any special environment settings, the
  1062. the started application inherits the environment of PC/2.
  1063. PC/2 itself inherits its environment from the process it was started from,
  1064. which is either the WPS or the OS/2 Shell process itself.
  1065. :p.You may either add settings to the settings that already get inherited from
  1066. PC/2, or you may replace settings defined in PC/2's environment
  1067. with a different value, or you may modify existing settings with additional values..
  1068. :p.For OS/2 versions 3.00 (WARP) and above, you may also specify the settings
  1069. :hp4.BEGINLIBPATH:ehp4. and :hp4.ENDLIBPATH:ehp4., which are not part of the process's
  1070. environment, but are actually the process's information area, to be technically exact.
  1071. Even if both are not part of the environment, PC/2 and the OS/2 command
  1072. processor :hp4.CMD.EXE:ehp4. allow you to treat both settings like environment
  1073. variables, because this is more consistent for the user.
  1074. :warning.
  1075. The :hp4.BEGINLIBPATH:ehp4. and :hp4.ENDLIBPATH:ehp4. settings are not available
  1076. for OS/2 2.x, because the Operating System doesn't support it, and will be ignored
  1077. for these versions.
  1078. :ewarning.
  1079. An entry in the environment specifies the value of a environment variable, and entry
  1080. has therefore the following form:
  1081. :p.:hp4.ENVIRONMENTVARIABLE=VALUE:ehp4.
  1082. :p.where :hp4.ENVIRONMENTVARIABLE:ehp4. is the name of a environment variable and
  1083. :hp4.VALUE:ehp4. is the value it gets assigned.
  1084. You may replace :hp4.VALUE:ehp4. by anything you want, but ensure that you use
  1085. the correct spelling.
  1086. Both :hp4.ENVIRONMENTVARIABLE:ehp4. and :hp4.VALUE:ehp4. are case sensitive, and
  1087. both get inherited to the started process with case sensitivity preserved.
  1088. Part of :hp4.VALUE:ehp4. may also be :hp4.%ENVIRONMENTVARIABLE:ehp4. which gets
  1089. replaced by the :hp4.VALUE:ehp4. of the same :hp4.ENVIRONMENTVARIABLE:ehp4. of the
  1090. parent process.
  1091. :p.For example, to add the environment variable :hp4.MYPROG:ehp4. with the value
  1092. :hp4.MyValue:ehp4. you'd write:
  1093. :p.:hp4.MyProg=MyValue:ehp4.,
  1094. :p.or to replace the :hp4.PATH:ehp4. environment variable of PC/2's
  1095. environment you could write:
  1096. :p.:hp4.PATH=C&colon.\&semi.D&colon.\MYPROG&semi.D&colon.\MYPROG\DLL&semi.:ehp4.,
  1097. :p.or to append the path :hp4.X&colon.\TOOLS&semi.:ehp4. before and
  1098. :hp4.Z&colon.\NETWORK\&semi.:ehp4. after the existing :hp4.DPATH:ehp4.
  1099. environment variable of PC/2's environment, you may write:
  1100. :p.:hp4.DPATH=Z&colon.\NETWORD\&semi.%DPATH%X&colon.\TOOLS&semi.:ehp4..
  1101. :warning.
  1102. You can't replace the :hp4.LIBPATH:ehp4. variable, which, although it's treated like a
  1103. environment variable in :hp9.CONFIG.SYS:ehp9., but does not belong to a process's
  1104. environment, but to the process itself.
  1105. The :hp4.LIBPATH:ehp4. is a systemwide resource.
  1106. :ewarning.
  1107.  
  1108. .*--------------------------------------------------------------------------------------*
  1109. .* The user selected examples from the Program installation PC/2 help.                  *
  1110. .*--------------------------------------------------------------------------------------*
  1111. :h2 res=&PIID_EXAMPLE1..Program installation example 1
  1112. :p.Assume you want to add Lotus 123/G:
  1113. :dl tsize=12 break=fit.
  1114. :dthd.:hp4.Fieldname&colon.
  1115. :ddhd.You would enter&colon.:ehp4.
  1116. :dt.:hp9.Program Title&colon.:ehp9.
  1117. :dd.:hp4.Lotus 123/G:ehp4.
  1118. :dt.:hp9.Path and Filename&colon.:ehp9.
  1119. :dd.:hp4.c&colon.\123g\123g.exe:ehp4.
  1120. :dt.:hp9.Working Directory&colon.:ehp9.
  1121. :dd.:hp4.c&colon.\123g:ehp4.
  1122. :dt.:hp9.Parameters&colon.:ehp9.
  1123. :dd.(none)
  1124. :edl.
  1125. :p.Lotus 123/G is a Presentation Manager application so you would select
  1126. :hp4.Presentation Manager:ehp4. as program type. The program style may be
  1127. :hp4.Maximized:ehp4., because more information is visible. The priority
  1128. may be left at the default selection :hp4.No Change:ehp4..
  1129. :p.Assume you want to add the WPS Object System Clock (located in the
  1130. folder :hp4.OS/2 System&rarrow.System Setup:ehp4.):
  1131. :dl tsize=12 break=fit.
  1132. :dthd.:hp4.Fieldname&colon.
  1133. :ddhd.You would enter&colon.:ehp4.
  1134. :dt.:hp9.Program Title&colon.:ehp9.
  1135. :dd.:hp4.System Clock:ehp4.
  1136. :dt.:hp9.Path and Filename&colon.:ehp9.
  1137. :dd.:hp4.<WP_CLOCK>:ehp4.
  1138. :dt.:hp9.Working Directory&colon.:ehp9.
  1139. :dd.(n/a)
  1140. :dt.:hp9.Parameters&colon.:ehp9.
  1141. :dd.(n/a)
  1142. :edl.
  1143. :p.The System Clock is a WPS Object, so :hp4.WPS Object:ehp4. is
  1144. selected as the program type.
  1145. You may have to look into the file :hp4.OS2_20.RC:ehp4. to get the defined
  1146. name of preinstalled WPS Objects.
  1147. Most settings are not available for WPS Objects.
  1148. :p.Assume you want to add the WPS clock object with the ObjectID :hp4.<WP_CLOCK>:ehp4..
  1149. First you must extract the ObjectID by using WPS 2 PC/2.
  1150. Then drag the extracted object from the WPS 2 PC/2 window onto
  1151. PC/2's Setup dialog, to create a menuentry within the Popup Menu.
  1152. After you have created the clock menuentry, you can view its settings by
  1153. editing the menuentry:
  1154. :dl tsize=12 break=fit.
  1155. :dthd.:hp4.Fieldname&colon.
  1156. :ddhd.You would enter&colon.:ehp4.
  1157. :dt.:hp9.Program Title&colon.:ehp9.
  1158. :dd.:hp4.System Clock:ehp4.
  1159. :dt.:hp9.Path and Filename&colon.:ehp9.
  1160. :dd.:hp4.<WP_CLOCK>:ehp4.
  1161. :dt.:hp9.Working Directory&colon.:ehp9.
  1162. :dd.(n/a)
  1163. :dt.:hp9.Parameters&colon.:ehp9.
  1164. :dd.(n/a)
  1165. :edl.
  1166. :p.The System Clock is a WPS Object, so :hp4.WPS Object:ehp4.
  1167. is used as the program type.
  1168. Assuming that you extracted the ObjectID as outlined
  1169. before, then the Object ID is :hp4.<WP_CLOCK>:ehp4..
  1170. :p.Sorry, this may be a little complicated, but it is the only way
  1171. to get a known Object ID.
  1172. :p.Assume you want to add the WIN-OS2 Program Manager.
  1173. Open the Program Installation dialog, and either enter the path information
  1174. (e.g c&colon.\os2\mdos\winos2\progman.exe) or drag :hp4.PROGMAN.EXE:ehp4.
  1175. into.
  1176. If you have entered the data manually, you also must check the
  1177. seamless WIN-OS2 session.
  1178. Further assume that you want in the same WIN-OS2 session to also start the
  1179. WIN-OS2 File Manager :hp4.WINFILE.EXE:ehp4. -  then you'd add it to the
  1180. Parameters entryfield:
  1181. :dl tsize=12 break=fit.
  1182. :dthd.:hp4.Fieldname&colon.
  1183. :ddhd.You would enter&colon.:ehp4.
  1184. :dt.:hp9.Program Title&colon.:ehp9.
  1185. :dd.:hp4.Prog &. File Manager:ehp4.
  1186. :dt.:hp9.Path and Filename&colon.:ehp9.
  1187. :dd.:hp4.c&colon.\os2\mdos\winos2\progman.exe:ehp4.
  1188. :dt.:hp9.Working Directory&colon.:ehp9.
  1189. :dd.:hp4.c&colon.\os2\mdos\winos2:ehp4.
  1190. :dt.:hp9.Parameters&colon.:ehp9.
  1191. :dd.:hp4.winfile.exe:ehp4.
  1192. :edl.
  1193. :p.You can only add a single Parameter to the WIN-OS2 Program Manager.
  1194.  
  1195. .****************************************************************************************
  1196. .*--------------------------------------------------------------------------------------*
  1197. .* The user selected help from the Control Addition PC/2 dialog box.                    *
  1198. .*--------------------------------------------------------------------------------------*
  1199. .****************************************************************************************
  1200.  
  1201. :h1 res=&MDID_CONTROLDIALOG..Help for PC/2 Control Addition
  1202. :p.This dialog allows you to add Menu Control items to PC/2's Popup Menu. Except for
  1203. :hp9.Break Separator:ehp9. and :hp9.Menu Separator:ehp9., you may only add 1 instance
  1204. of the Menu Control to the Popup Menu.
  1205. The Menu Control :hp9.Configure Popup Menu Settings:ehp9. must be added
  1206. to the Popup Menu in order that PC/2 displays the Popup Menu after mouse button 1
  1207. clicks, otherwise the :link reftype=hd res=&ID_CONFIGDIALOG..Setup dialog:elink. will
  1208. be invoked after each mouse click until you have added this Menu Control. PC/2
  1209. supports the following Menu Controls:
  1210. :dl tsize=12 break=fit.
  1211. :dthd.:hp4.Control&colon.
  1212. :ddhd.Description&colon.:ehp4.
  1213. :dt.:hp9.Menu Settings:ehp9.
  1214. :dd.This button is used to add the Menu Control to be able to configure the Popup Menu
  1215. via the Setup dialog.
  1216. :dt.:hp9.Desktop Settings:ehp9.
  1217. :dd.This button is used to add the Menu Control to configure the Virtual Desktop feature.
  1218. :dt.:hp9.About PC/2:ehp9.
  1219. :dd.This button adds the About PC/2 Menu Control.
  1220. :dt.:hp9.ShutDown OS/2:ehp9.
  1221. :dd.This button adds a Menu Control, which, when selected, displays a message box allowing
  1222. you to shutdown OS/2 just by clicking on :hp4.Ok:ehp4. or pressing the :hp4.Enter:ehp4. key.
  1223. :dt.:hp9.Help:ehp9.
  1224. :dd.This button adds the online help Menu Control item.
  1225. :dt.:hp9.Exit:ehp9.
  1226. :dd.This button is used to add the Menu Control to be able to exit PC/2 via a
  1227. message box by just clicking on :hp4.Ok:ehp4. or pressing the :hp4.Enter:ehp4. key.
  1228. :p.When running PC/2 as the WPS process, this menuitem will be disabled, because
  1229. a WPS process should not terminate.
  1230. :dt.:hp9.Break Separator:ehp9.
  1231. :dd.This button is used to add one break separator Menu Control. You may add this
  1232. Menu Control to convert a large single-column menu to a smaller multi-column menu.
  1233. This Control is a Menu Control that you may add as often you prefer. I suggest to
  1234. use this Control only to break Menuitems not being a Submenu.
  1235. :dt.:hp9.Menu Separator:ehp9.
  1236. :dd.This button is used to add one separator Menu Control. You may add this Menu Control
  1237. to enhance the readability of the Popup Menu. This Control is a Menu Control that
  1238. you may add as often you prefer.
  1239. :edl.
  1240. :p.Press :hp4.Ok:ehp4. to accept or press :hp4.Cancel:ehp4. to ignore your modifications.
  1241. :p.:link reftype=hd res=&PIID_PROGRAMDIALOG..<Backward>:elink.
  1242.                                 :link reftype=hd res=&RDID_RESORTDIALOG..<Forward>:elink.
  1243.  
  1244.  
  1245. .****************************************************************************************
  1246. .*--------------------------------------------------------------------------------------*
  1247. .* The user selected help from the Resort PC/2 dialog box.                              *
  1248. .*--------------------------------------------------------------------------------------*
  1249. .****************************************************************************************
  1250.  
  1251. :h1 res=&RDID_RESORTDIALOG..Help for PC/2 Resort
  1252. :p.This dialog box contains two listboxes, the left one that displays the currently
  1253. available Menuentries and the right one that displays the currently resorted
  1254. Menuentries.
  1255. Select one or more Menuentries from the left listbox and press the
  1256. :hp4.Reorder:ehp4. button, to resort it to the right listbox.
  1257. For the remaining Menuentry(ies) repeat this procedure, until the left listbox is empty.
  1258. Instead of selecting a Menuentry and then clicking on the :hp4.Reorder:ehp4.
  1259. button, you may doubleclick on a Menuentry.
  1260. :p.You can cancel the resort before you have done any sort, but you have to resort
  1261. the complete Submenu once you made one resort operation.
  1262. :p.All sorted Menuentries in the right listbox can't be started with PC/2 until
  1263. you complete the resort by pressing :hp4.OK:ehp4..
  1264. :warning.
  1265. You have to press :hp4.OK:ehp4. in the :link reftype=hd
  1266. res=&ID_CONFIGDIALOG..Setup Dialog:elink. to write the resorted Menuentries
  1267. structure to the configuration file.
  1268. :p.Because a Break Separator is a style of the preceding Menuentry, you can't
  1269. resort a Break Separator standalone, you can only resort its :hp2.owning:ehp2. menuentry
  1270. which automatically resorts the Break Separator too.
  1271. :ewarning.
  1272. :p.:link reftype=hd res=&MDID_CONTROLDIALOG..<Backward>:elink.
  1273.                                 :link reftype=hd res=&SUID_STARTUPDIALOG..<Forward>:elink.
  1274.  
  1275. .*--------------------------------------------------------------------------------------*
  1276. .* The user selected help from the Startup Parameters dialog box.                       *
  1277. .*--------------------------------------------------------------------------------------*
  1278.  
  1279. :h1 res=&SUID_STARTUPDIALOG..Help for PC/2 Startup Parameters
  1280. :p.PC/2 allows you to replace the commandline parameters of your application
  1281. completely or partly.
  1282. :p. For example, assume you have a TCP/IP communications package installed on your
  1283. system. You also have added an Menuitem that starts a file transfer program named
  1284. :hp4.FTP:ehp4.. :hp4.FTP:ehp4. requires the name of the host
  1285. you want to connect to, as a parameter.
  1286. To prompt you for this parameter immediately before :hp4.FTP:ehp4. is started,
  1287. you would modify the parameters entryfield of the PC/2 Program Installation
  1288. dialog like :hp4.[Please enter host address]:ehp4.
  1289. :p.Further assume that you selected the Menuitem :hp4.FTP:ehp4. from the
  1290. Popup Menu. Just before :hp4.FTP:ehp4. is started, a dialog box is displayed,
  1291. requesting the host address from you. You would type something like
  1292. :hp4.ftp.cdrom.com:ehp4., then the file transfer program will be invoked
  1293. as if you typed :hp4.FTP ftp.cdrom.com:ehp4. from a commandline.
  1294. :p.Generally, the syntax for the commandline parameters is:
  1295. :p.:hp4.Parameter(s) 1 [Text] Parameter(s) 2:ehp4.
  1296. :p.Assume you typed :hp4.FirstFile.doc:ehp4. as the first, and
  1297. :hp4.ThirdFile.doc:ehp4. as the second parameter.
  1298. You would be asked by a dialog box what to replace :hp4.[Text]:ehp4. with.
  1299. Assume you entered :hp4.MyFile.doc:ehp4. then the program will be invoked
  1300. with the commandline parameters :hp4.FirstFile.doc MyFile.doc ThirdFile.doc:ehp4..
  1301. The string :hp4.[Text]:ehp4. would have been replaced by :hp4.MyFile.doc:ehp4..
  1302. Of course both parameters may be omitted, both may contain more than one parameter
  1303. or only one of them may present. Omitting :hp4.[Text]:ehp4. would start the
  1304. application without asking you for a commandline parameter prior.
  1305. :p.You may also use this dialog to add a second WIN-OS2 application to a
  1306. WIN-OS2 session, if the first application is the WIN-OS2 Program Manager.
  1307. :p.PC/2 allows you to edit commandline parameters similar to the WPS (open
  1308. the Settings notebook of any application,
  1309. position the cursor into the Parameters entryfield and
  1310. press F1 or Help to get further information).
  1311. :p.Press :hp4.Acceot:ehp4. to accept the parameters you entered, or press
  1312. :hp4.Ignore:ehp4. to replace the user editable Parameter(s)
  1313. with an empty string.
  1314. :p.:link reftype=hd res=&RDID_RESORTDIALOG..<Backward>:elink.
  1315.                                 :link reftype=hd res=&ID_DESKTOPDIALOG..<Forward>:elink.
  1316.  
  1317. .****************************************************************************************
  1318. .*--------------------------------------------------------------------------------------*
  1319. .* The user selected help from the Desktop Setup PC/2 dialog box.                       *
  1320. .*--------------------------------------------------------------------------------------*
  1321. .****************************************************************************************
  1322.  
  1323. :h1 res=&ID_DESKTOPDIALOG..Help for PC/2 Desktop Setup
  1324. :p.PC/2 supports :hp9.Sliding Focus:ehp9. and :hp9.Virtual
  1325. Desktops:ehp9..
  1326. :p.The :hp9.Sliding Focus:ehp9. gives you a behavior you may know from X-Windows -
  1327. you don't have to click on a window to activate it and to switch the input focus
  1328. to it - the window below the mouse pointer is automatically activated.
  1329. Just move the mouse pointer from one window to another to switch the input focus.
  1330. You'll notice that the window below the mouse pointer always has a highlighted
  1331. frame, which OS/2 uses to signal the active window as having the input focus.
  1332. You may use the :hp4.SHIFT:ehp4.-key to temporarily suspend the :hp9.Sliding Focus:ehp9.,
  1333. which you may find useful for some programs, e.g. online help displayed with
  1334. :hp4.VIEW.EXE:ehp4., because OS/2 doesn't expect mouse movements to switch
  1335. the active window.
  1336. :p.A :hp9.Virtual Desktop:ehp9. is a Desktop enhancement that expands the size of
  1337. your display and controls which part of the virtual display is covered by your
  1338. physical screen.
  1339. :artwork name='Pc2Win.bmp' align=left.
  1340. For example assume that you are running OS/2 on an XGA-2 at a resolution of 1024 * 768
  1341. pixels.
  1342. Your display has then 1024 columns and 768 rows of pixels, giving you a
  1343. Desktop where application windows can be seen.
  1344. We will call this the physical Desktop.
  1345. Of course you can start windows outside this Desktop, on one of the :hp9.Virtual
  1346. Desktop:ehp9.s, but you won't be able to see them unless you switch to this Desktop.
  1347. :p.To summarize the graphics, assume you are using an XGA-2 display adapter at a
  1348. resolution of 1024 * 768 points:
  1349. :ol.
  1350. :li.The physical Desktop, that is the screen you are currently looking
  1351. into is located at the center of all :hp9.Virtual Desktop:ehp9.s, after invoking PC/2
  1352. The lower left point of is then the origin in the :hp9.Virtual Desktop:ehp9. with
  1353. coordinates of (0, 0).
  1354. All coordinates on the :hp9.Virtual Desktop:ehp9. are then counted relative to this
  1355. absolute origin, counting positive on the right and upper direction and negative to
  1356. the lower and bottom direction.
  1357. :li.The :hp9.Virtual Desktop:ehp9. to the left to your Display after starting PC/2
  1358. has negative horizontal coordinates.
  1359. In our example, this point would be (-1024, 0).
  1360. :li.The :hp9.Virtual Desktop:ehp9. right to your Display after starting PC/2
  1361. has the absolute coordinates of (1024, 0) in our example.
  1362. :p.On a VGA screen at a resolution of 640 * 480 the coordinates would be (640, 0), as
  1363. you have hopefully assumed.
  1364. :li.When you are using OS/2, you have usually a physical Desktop in front
  1365. of you, where the WPS (WorkPlace Shell) is running.
  1366. After invoking PC/2, the WPS is drawn on the :hp9.Overview Window:ehp9.
  1367. with the name :hp4.Desktop:ehp4..
  1368. Behind the WPS, which is a Presentation Manager application just covering the
  1369. while screen, is the image of the physical Desktop, named :hp4.Display:ehp4.,
  1370. but it is covered by the WPS, so you can't see it.
  1371. :p.Now assume you move the physical Desktop onto the :hp9.Virtual Desktop:ehp9.
  1372. where the IBM Web Explorer, (named IBM WebE in our graphics), runs.
  1373. The physical Desktop will then be at :hp4.2:ehp4. in our graphics, and you
  1374. would be able to see its name :hp9.Display:ehp9. then, because it is not longer covered
  1375. by the WPS.
  1376. :eol.
  1377. :p.Simply speaking, imagine the :hp9.Virtual Desktop:ehp9. as an up to 9 * 9 array of Desktops,
  1378. with the physical Desktop, that is the display, just covering 1 of all
  1379. :hp9.Virtual Desktop:ehp9.s.
  1380. You just navigate your display around within the :hp9.Virtual Desktop:ehp9.s as you
  1381. would do on a map from sector to sector.
  1382. Distributing applications on the :hp9.Virtual Desktop:ehp9.s simply helps you to
  1383. avoid having all application's windows on your display.
  1384. :p.Now assume that you move the physical Desktop left, all windows you have
  1385. started will move right, so some shift out on the right side and some shift in
  1386. on the left side of your display.
  1387. :p.Controlling the windows is exactly that what PC/2 does for you.
  1388. If you move your mouse pointer on the leftmost column of your display
  1389. (column 0), all windows move rightward, as the physical Desktop moves
  1390. leftward within the :hp9.Virtual Desktop:ehp9..
  1391. The same principle is used on the rightmost columns and the top and
  1392. bottom rows.
  1393. If you move your mouse pointer into a corner of your display, the physical Desktop
  1394. even will move in two directions, leading to a horizontal and a
  1395. vertical movement.
  1396. :p.Of course you can only move your physical Desktop in one direction,
  1397. as long as this movement keeps it within the :hp9.Virtual Desktop:ehp9., whose
  1398. size you can select from 1 * 1 up to 9 * 9.
  1399. :p.The :hp9.Sliding Focus:ehp9. gives you a behavior you may know from X-Windows,
  1400. you don't have to click on a window to activate it, the window below the mouse
  1401. pointer is automatically activated.
  1402. Just move the mouse pointer from one window to another, to switch the input focus.
  1403. :p.All settings are saved and will be used when PC/2 is loaded unless you have
  1404. specified a different behavior with the
  1405. :link reftype=hd res=&SUID_STARTUPDIALOG..Commandline Parameters:elink..
  1406. :warning text='Caution:'.You may want to disable the :hp9.Sliding Focus:ehp9.
  1407. on a machine used for development. When using a debugger (e.g. IPMD) your
  1408. machine is likely to lock with the :hp9.Sliding Focus:ehp9. enabled.
  1409. :p.You can use the :hp9.Virtual Desktop:ehp9. on a development machine, just
  1410. avoid switching between Desktops when a debugger is active.
  1411. :p.Trap popup screens also make changes in the focus order so I would suggest
  1412. you use the keyboard to dismiss these dialogs.
  1413. :p.For more information selecte help for one of following notebook pages:
  1414. :ul compact.
  1415. :li.:link reftype=hd res=&DDID_PAGE1..Virtual Desktop Settings:elink.
  1416. :li.:link reftype=hd res=&DDID_PAGE2..Physical Desktop Settings:elink.
  1417. :li.:link reftype=hd res=&DDID_PAGE3..General PC/2 Settings:elink.
  1418. :eul.
  1419. :ewarning.
  1420. :p.Once you have configured the notebook pages, just press
  1421. :hp4.Save:ehp4. to bring them into effect and save them to the profile, :hp2.or:ehp2.
  1422. :hp4.Cancel:ehp4. to make them temporarily effective, but without saving them
  1423. to the profile :hp9.PC2.INI:ehp9. on disk.
  1424. If your INI file is corrupted, PC/2 assumes default values, which
  1425. you then can edit and save to a new INI file.
  1426. :p.:link reftype=hd res=&SUID_STARTUPDIALOG..<Backward>:elink.
  1427.                                 :link reftype=hd res=&ID_OVERVIEWHELP..<Forward>:elink.
  1428.  
  1429.  
  1430. .*--------------------------------------------------------------------------------------*
  1431. .* The user selected help from the Desktop Configuration Virtual Desktop Settings       *
  1432. .* notebook page.                                                                       *
  1433. .*--------------------------------------------------------------------------------------*
  1434. :h2 res=&DDID_PAGE1..Virtual Desktop Settings
  1435. :p.This dialog is used to control the Virtual Desktop feature of PC/2.
  1436. :dl tsize=12 break=fit.
  1437. :dthd.:hp4.Fieldname&colon.
  1438. :ddhd.Description&colon.:ehp4.
  1439. :dt.:hp9.Virtual Desktop:ehp9.
  1440. :dd.Select this checkbox to enable the :hp4.Virtual Desktop:ehp4. feature of
  1441. PC/2.
  1442. :dt.:hp9.Move OS/2's Desktop:ehp9.
  1443. :dd.This checkbox allows you to move the Desktop within the Virtual Desktop
  1444. like any other window. The Desktop is another name for the WPS (WorkPlace-Shell).
  1445. You may check this option if you don't need the services provided by the WPS
  1446. on all Virtual Desktops.
  1447. :dt.:hp9.Click to Move:ehp9.
  1448. :dd.If you prefer to click to a surrounding row or column, before the physical
  1449. Desktop is moved, select this option, otherwise you can change to another
  1450. Virtual Desktop by just moving the mouse pointer on a surrounding row or
  1451. column of your Display.
  1452. :dt.:hp9.Overview Window:ehp9.
  1453. :dd.You may also want an Overview Window, that contains the current
  1454. layout of the Virtual Desktop.
  1455. Select this checkbox to enable this feature.
  1456. You may doubleclick with mouse button 1 on any of the up to 81 :hp4.Virtual
  1457. Desktop:ehp4.s to immediately switch to this Desktop.
  1458. commandline option, to move the physical Desktop.
  1459. :dt.:hp9.Expand WPS to Virtual Desktop:ehp9.
  1460. :dd.When selecting this feature, the WPS is expanded to the size of the
  1461. Virtual Desktop. You may then distribute WPS Objects to any of the Virtual
  1462. Desktops. If you have a scroll bar on your WPS, this feature removes the
  1463. scrollbar when your WPS completely fits into the Virtual Desktop.
  1464. :dt.:hp9.Desktop Scrolling:ehp9.
  1465. :dd.The scrollbar :hp9.Desktop Scrolling:ehp9. enables you to define the
  1466. scrolling factor that is applied to your Virtual Desktop, when switching to
  1467. the next Virtual Desktop, by clicking on a surrounding row or column.
  1468. You can select between 0 and 100 % with 5% increments, with 100 % being the
  1469. default one.
  1470. :dt.:hp9.Virtual Desktop count:ehp9.
  1471. :dd.These two spinbuttons enable you to define the number of Virtual Desktops in
  1472. horizontal direction and vertical direction, both in the range of 1 to 9.
  1473. The first spinbutton determines the number of Virtual Desktops in the horizontal
  1474. direction, the second spinbutton the number of Virtual Desktops in the vertical
  1475. direction.
  1476. :dt.:hp9.Single Click:ehp9.
  1477. :dd.Select this option if you want to activate the Popup Menu or
  1478. switch to another Virtual Desktop with a single click with mouse button 1.
  1479. :dt.:hp9.Double Click:ehp9.
  1480. :dd.Select this option if you want to activate the Popup Menu or
  1481. switch to another Virtual Desktop with a double click with mouse button 1.
  1482. :dt.:hp9.Preselection:ehp9.
  1483. :dd.Check this item if you want PC/2 to automatically select the first entry
  1484. of your Popup Menu for you. If the first item is a submenu, it will be opened
  1485. automatically.
  1486. :dt.:hp9.Sliding Focus:ehp9.
  1487. :dd.Select this checkbox to enable the :hp9.Sliding Focus:ehp9. feature of
  1488. PC/2.
  1489. :p.Note! Even if this setting is enabled, you can temporarily prevent the
  1490. focus from moving by holding down the :hp4.SHIFT:ehp4.-key when moving the
  1491. mouse.
  1492. :dt.:hp9.Preserve Z-Order:ehp9.
  1493. :dd.To preserve the Z-Order of the windows, that is, the order in which a window in
  1494. the foreground overlaps a window behind, also check the :hp9.Preserve Z-Order:ehp9.
  1495. checkbox.
  1496. :p.Note! Even if this setting is enabled, you can temporarily prevent changes
  1497. of the Z-Order by holding down the :hp4.SHIFT:ehp4.-key when moving the
  1498. mouse.
  1499. :dt.:hp9.Hide Titlebar:ehp9.
  1500. :dd.To hide the titlebar of PC/2's Overview Window select this option. This increases
  1501. the space available to paint a reduced image of the Virtual Desktops.
  1502. :dt.:hp9.Hide Smarticons:ehp9.
  1503. :dd.To hide the smarticon bar of PC/2's Overview Window select this option. This
  1504. increases the space available to paint a reduced image of the Virtual Desktops too,
  1505. at the cost of not being able to manipulate PM windows on the Overview Window.
  1506. :edl.
  1507. :p.Press :hp4.Save:ehp4. to accept the configuration and save it into :hp9.PC2.INI:ehp9.,
  1508. or press :hp4.Cancel:ehp4. to ignore any changes you made.
  1509. If your INI file is corrupted, PC/2 assumes default values, which
  1510. you then can edit and save to a new INI file.
  1511.  
  1512. .*--------------------------------------------------------------------------------------*
  1513. .* The user selected help from the Desktop Configuration Physical Desktop Settings      *
  1514. .* notebook page.                                                                       *
  1515. .*--------------------------------------------------------------------------------------*
  1516. :h2 res=&DDID_PAGE2..Physical Desktop Settings
  1517. :p.This dialog is used to control the physical Virtual Desktop feature of PC/2.
  1518. :dl tsize=12 break=fit.
  1519. :dthd.:hp4.Control&colon.
  1520. :ddhd.Description&colon.:ehp4.
  1521. :dt.:hp9.OS/2's Desktop Name:ehp9.
  1522. :dd.PC/2 has to know the name of this Desktop, so you have to ensure that
  1523. you type its name in the entryfield.
  1524. Under OS/2 2.0 it's usually named :hp4.OS/2 2.0 Desktop:ehp4., but
  1525. it changes under OS/2 2.1 to :hp4.Desktop:ehp4., if you haven't installed
  1526. it over an existing OS/2 2.0 system.
  1527. You may rename the Desktop by clicking with mouse button 2 on the Desktop
  1528. selecting :hp4.Desktop&rarrow.Settings:ehp4. (or :hp4.Settings:ehp4. under OS/2 Warp)
  1529. and selecting the General notebook page.
  1530. Changing the title can be used to replace :hp4.OS/2 2.0 Desktop:ehp4.
  1531. by :hp4.Desktop:ehp4..
  1532. Also ensure that you translate it into your national language, if you
  1533. don't use an English OS/2 version.
  1534. :dt.:hp9.Window List Name:ehp9.
  1535. :dd.PC/2 also must know the name of the Window List.
  1536. The Window List is usually named :hp4.Window List:ehp4. but you have to
  1537. ensure that it is translated into your national language, if you don't
  1538. use an English OS/2 version.
  1539. :dt.:hp9.Button 2 titlebar click lowers Z-order:ehp9.
  1540. :dd.Select this checkbox if you want to click down mouse button 2 on any window's
  1541. titlebar to set this window to the bottom of all windows. This moves the window
  1542. you clicked on behind all other windows, lowering its Z-Order to the minimum.
  1543. The window under the mouse pointer is moved to the foreground and activated, if
  1544. it is not the same you clicked on.
  1545. :p.By holding the :hp4.Ctrl:ehp4.-key while clicking with mouse button 2 on
  1546. a window's titlebar, the window under the mouse pointer gets not moved to the
  1547. foreground and activated. This allows you to kick a window into the background
  1548. without affecting the Z-order of other windows.
  1549. :p.By holding the :hp4.Alt:ehp4.-key while clicking with mouse button 2 on
  1550. a window's titlebar, the titlebar acts as if you haven't checked PC/2's
  1551. option :hp9.Button 2 titlebar click lowers Z-order:ehp9.. This allows you to move
  1552. the window or activate any special features the window supports.
  1553. :dt.:hp9.Keep on top:ehp9.
  1554. :dd.Select this option if you want the Overview Window to always stay on
  1555. the top of the Desktop, even if another window has the focus.
  1556. :dt.:hp9.Use Spooler Control Window:ehp9.
  1557. :dd.PC/2 provides a Spooler Control Window, which allows you to manage the
  1558. printer queues and jobs of your local workstation.
  1559. This feature is primarily to provide printer management, when PC/2 is
  1560. running as a WPS replacement, because the standard OS/2 Spooler management
  1561. is a SOM application, and requires the WPS to be running.
  1562. :p.By default PC/2 starts the Spooler Control Window only, when PC/2 is
  1563. running as a WPS replacement.
  1564. When selecting this checkbox, the PC/2 Spooler Control Window is also
  1565. available when you run PC/2 on top of the WPS (which increases PC/2's
  1566. memory requirements slightly).
  1567. Changes of this setting aren't available immediately, but the next time
  1568. you start PC/2.
  1569. :dt.:hp9.Background Bitmap:ehp9.
  1570. :dd.Check this option to add the background Bitmap support of PC/2. PC/2
  1571. then allows you to define a bitmap, which is displayed on PM background.
  1572. PM background means all the background of OS/2 that is not covered by the
  1573. WPS. For example if you have 3 Virtual Desktops, having the WPS as the
  1574. centered one, then the 2 Virtual Desktops beside the WPS will display the
  1575. background bitmap.
  1576. :dt.:hp9.Normal:ehp9.
  1577. :dd.This option displays the bitmap unsized. The bitmap is centered.
  1578. :dt.:hp9.Scaled:ehp9.
  1579. :dd.This option scales the bitmap so that is covers the complete screen.
  1580. :dt.:hp9.Tiled:ehp9.
  1581. :dd.The bitmap is tiled covering the complete screen with the tile count
  1582. selected in the :hp9.Tile count:ehp9. spinbutton. You can select a tile
  1583. count of 1 to 99 although OS/2 seems to limit this to about 20.
  1584. :p.:warning text='Caution!'.Under OS/2 3.00 Warp this seems to hang OS/2
  1585. completely, requiring a soft reset.
  1586. A defect (PMR 4X472) has been opened against OS/2 Warp, so this may be fixed by a
  1587. future CSD (Corrective Service Diskette).
  1588. :p.This bug is not a problem of PC/2, since it works correctly under
  1589. OS/2 2.x.
  1590. :ewarning.
  1591. :dt.:hp9.Find Bitmap...:ehp9.
  1592. :dd.Select this pushbutton to use the standard OS/2 file dialog to locate
  1593. the bitmap file you want to display.
  1594. :dt.:hp9.Path to Bitmap:ehp9.
  1595. :dd.Either fill this entryfield by selecting a bitmap with the file
  1596. dialog by clicking on :hp9.Find Bitmap...:ehp9. or enter the fully qualified
  1597. path to  the bitmap manually.
  1598. :edl.
  1599. :p.Press :hp4.Save:ehp4. to accept the configuration and save it into :hp9.PC2.INI:ehp9.,
  1600. or press :hp4.Cancel:ehp4. to ignore any changes you made.
  1601. If your INI file is corrupted, PC/2 assumes default values, which
  1602. you then can edit and save to a new INI file.
  1603.  
  1604. .*--------------------------------------------------------------------------------------*
  1605. .* The user selected help from the Desktop Configuration General PC/2 Settings notebook *
  1606. .* page.                                                                                *
  1607. .*--------------------------------------------------------------------------------------*
  1608. :h2 res=&DDID_PAGE3..General PC/2 Settings
  1609. :p.This dialog is used to control PC/2 settings that have a general character.
  1610. :dl tsize=12 break=fit.
  1611. :dthd.:hp4.Control&colon.
  1612. :ddhd.Description&colon.:ehp4.
  1613. :dt.:hp9.Normal ShutDown (WPS method):ehp9.
  1614. :dd.Check this item if you want PC/2 to perform a Shutdown of OS/2
  1615. the way the WPS does, when selecting ShutDown from its context menu.
  1616. When this item is checked, and you select :hp9.ShutDown:ehp9. from PC/2's
  1617. Popup Menu or SmartIcon, OS/2 informs all application that OS/2 is going to
  1618. shut down, giving them a chance to write unsaved changes to disk.
  1619. Some applications, e.g. OS/2 command processors, even ask if you are sure
  1620. to close them.
  1621. :dt.:hp9.Ignore Autostart:ehp9.
  1622. :dd.Check this item to ignore the :hp9.Autostart:ehp9. style of applications
  1623. in PC/2's Popup Menu, without having to remove this style
  1624. from all applications individually.
  1625. You may find this feature useful when temporarily exiting PC/2
  1626. and reloading PC/2 without launching the applications having the
  1627. :hp9.Autostart:ehp9. style set a second time.
  1628. :p.You may also specify the commandline option :hp4.-NoAutostart:ehp4., as
  1629. described in :link reftype=hd res=&ID_GENERALHELP..General Help for PC/2:elink.,
  1630. to get the same behaviour.
  1631. :dt.:hp9.No systemwide Hotkeys:ehp9.
  1632. :dd.Check this item to allow PC/2 Hotkeys to be detected only, if
  1633. either PC/2, the Window List, PM or the WPS is active window when pressing a
  1634. Hotkey.
  1635. This prevents PC/2 from stealing Hotkeys from your application
  1636. software you are working with.
  1637. :p.For example, if you have defined the Hotkey :hp4.CTRL+U:ehp4. to
  1638. start a host upload program, you usually don't want to invoke this upload,
  1639. when pressing :hp4.CTRL+U:ehp4. in :hp4.EPM:ehp4. to undo a typing mistake.
  1640. :edl.
  1641. :p.Press :hp4.Save:ehp4. to accept the configuration and save it into :hp9.PC2.INI:ehp9.,
  1642. or press :hp4.Cancel:ehp4. to ignore any changes you made.
  1643. If your INI file is corrupted, PC/2 assumes default values, which
  1644. you then can edit and save to a new INI file.
  1645.  
  1646.  
  1647. .****************************************************************************************
  1648. .*--------------------------------------------------------------------------------------*
  1649. .* The user selected help for PC/2's Overview Window.                                   *
  1650. .*--------------------------------------------------------------------------------------*
  1651. .****************************************************************************************
  1652.  
  1653. :h1 res=&ID_OVERVIEWHELP..Help for PC/2 Overview Window
  1654. :p.PC/2's Desktop Overview Window displays a sized image of all windows available on
  1655. all Virtual Desktops and allows direct manipulation.
  1656. Of course PC/2's Overview Window must be enabled before it is displayed.
  1657. :p.To change the font of the Overview Window just drag a font from the Font
  1658. Palette to the Overview Window. This font will be saved the next time you exit
  1659. PC/2.
  1660. :p.The Overview Window is controlled by smarticons, located at the top of the window.
  1661. The currently active smarticon is framed and pressed. If mouse button 2 is pressed
  1662. on a window, the action corresponding to the active smarticon is performed.
  1663. :p.To perform actions on the windows displayed in PC/2's Desktop Overview Window, the
  1664. following smarticons may be used:
  1665. :dl tsize=12 break=fit.
  1666. :dthd.:hp4.Icon&colon.
  1667. :ddhd.Description&colon.:ehp4.
  1668. :dt.:artwork name='Exit.bmp' runin align=left.:hp9.Exit PC/2:ehp9.
  1669. :dd.Click on this smarticon to exit PC/2.
  1670. :p.When running PC/2 as the WPS process, this smarticon will be disabled,
  1671. because the WPS (or WPS replacement) process should not terminate.
  1672. :dt.:artwork name='Move.bmp' runin align=left.:hp9.Move window:ehp9.
  1673. :dd.Selecting this icon changes the pointer to a window pointer cursor, allowing you
  1674. to select and move a window by clicking and holding mouse button 2.
  1675. :dt.:artwork name='Hide.bmp' runin align=left.:hp9.Hide window:ehp9.
  1676. :dd.Selecting this icon changes the pointer to a window pointer cursor, allowing you
  1677. to select and hide a window by clicking mouse button 2 on it.
  1678. The window can be made visible again by selecting it from the Window List.
  1679. :dt.:artwork name='Top.bmp' runin align=left.:hp9.Set to top:ehp9.
  1680. :dd.Selecting this icon changes the pointer to a cross wires cursor, allowing you to
  1681. move a window on the top of the Desktop by clicking mouse button 2 on it.
  1682. :dt.:artwork name='Bottom.bmp' runin align=left.:hp9.Set to bottom:ehp9.
  1683. :dd.Selecting this icon changes the pointer to a cross wires cursor, allowing you to
  1684. move a window to the bottom of the Desktop by clicking mouse button 2 on it.
  1685. :dt.:artwork name='Close.bmp' runin align=left.:hp9.Kill a session:ehp9.
  1686. :dd.Selecting this icon changes the pointer to a cross wires cursor, allowing you to
  1687. terminate a window by clicking mouse button 2 on it.
  1688. :dt.:artwork name='Maximize.bmp' runin align=left.:hp9.Maximize window:ehp9.
  1689. :dd.Selecting this icon changes the pointer to a cross wires cursor, allowing you to
  1690. maximize a window by clicking mouse button 2 on it.
  1691. :dt.:artwork name='Minimize.bmp' runin align=left.:hp9.Minimize window:ehp9.
  1692. :dd.Selecting this icon changes the pointer to a cross wires cursor, allowing you to
  1693. minimize a window by clicking mouse button 2 on it.
  1694. :dt.:artwork name='Restore.bmp' runin align=left.:hp9.Restore window:ehp9.
  1695. :dd.Selecting this icon changes the pointer to a cross wires cursor, allowing you to
  1696. restore a window by clicking mouse button 2 on it.
  1697. :dt.:artwork name='ShutDown.bmp' runin align=left.:hp9.ShutDown OS/2:ehp9.
  1698. :dd.Selecting this icon changes the pointer to a window pointer cursor and displays
  1699. a message box asking to continue ShutDown of OS/2.
  1700. If you chose to continue ShutDown, OS/2 closes all file buffers and suspends all
  1701. disk access without closing the running applications.
  1702. This ShutDown method shuts down OS/2 immediately without any further user interaction,
  1703. however active programs do not get informed to write unsaved data to disk.
  1704. :p.When activating the :hp9.Ignore Autostart:ehp9. checkbox, PC/2 doesn't
  1705. ask you to continue ShutDown of OS/2, but performs a ShutDown as the WPS does.
  1706. This is described in more detail at the
  1707. :link reftype=hd res=&DDID_PAGE1..Virtual Desktop Settings:elink. help.
  1708. This ShutDown method may take a while and usually required user interaction,
  1709. however all applications get the chance to write unsaved data to disk.
  1710. :dt.:artwork name='Help.bmp' runin align=left.:hp9.PC/2 Help:ehp9.
  1711. :dd.Selecting this icon changes the pointer to a window pointer cursor and displays
  1712. PC/2's online help you are reading now.
  1713. :edl.
  1714. :p.:link reftype=hd res=&ID_DESKTOPDIALOG..<Backward>:elink.
  1715.                                 :link reftype=hd res=&ID_PC2SPOOLERWINDOW..<Forward>:elink.
  1716.  
  1717. .****************************************************************************************
  1718. .*--------------------------------------------------------------------------------------*
  1719. .* The user selected help for the Spooler window.                                       *
  1720. .*--------------------------------------------------------------------------------------*
  1721. .****************************************************************************************
  1722. :h1 res=&ID_PC2SPOOLERWINDOW..PC/2's Spooler Control Window
  1723. :p.PC/2 supports a Spooler Control Window, which is simply a container filled
  1724. with the available printer queue and job information available on the local
  1725. machine PC/2 is running.
  1726. :p.To change the font of the Spooler Control Window, just drag a font
  1727. from the Font Palette to the Spooler Control Window container. This
  1728. font will be saved the next time you exit PC/2.
  1729. The PC/2 Spooler was primarily added to be able to manage print jobs on systems
  1730. PC/2 is running as a WPS replacement. Any WPS replacement has to start the
  1731. OS/2 spooler and provide a mechanism to manage print jobs.
  1732. :p.To be able to display PC/2's Spooler Control Window, you must select the
  1733. menuitem :hp9.PC/2 Spooler:ehp9. from PC/2's Popup Menu (of course you have to
  1734. add this menuitem via the
  1735. :link reftype=hd res=&MDID_CONTROLDIALOG..Control Addition:elink. dialog.
  1736. :p.If the container is empty, PC/2 can't find any printer queue on your local
  1737. workstation.
  1738. :dl tsize=12 break=fit.
  1739. :dthd.:hp4.Menuentry&colon.
  1740. :ddhd.Description&colon.:ehp4.
  1741. :dt.:hp9.Refresh:ehp9.
  1742. :dd.Select this item to refresh the Spooler window container immediately from
  1743. the real-time printer queue status of the local workstation. When you don't select
  1744. this item, the Spooler window container gets refreshed regularly.
  1745. :dt.:hp9.Hold job:ehp9.
  1746. :dd.Select this item to set the currently selected job(s) to hold status.
  1747. :dt.:hp9.Release job:ehp9.
  1748. :dd.Select this item to set the currently selected job(s) to normal status
  1749. (this request will be ignored for jobs being in the normal status).
  1750. :dt.:hp9.Delete job:ehp9.
  1751. :dd.Select this item to delete the currently selected job(s). The jobs will be
  1752. removed from the printer queue by the OS/2 spooler in a few seconds.
  1753. :dt.:hp9.Hold queue:ehp9.
  1754. :dd.Select this item to suspend the currently selected queue(s). All jobs running
  1755. in these queues will suspended from printing, too.
  1756. :dt.:hp9.Release queue:ehp9.
  1757. :dd.Select this item to set the currently selected queue(s) to the normal status
  1758. (this request will be ignored for queues being in the normal status).
  1759. :dt.:hp9.Help:ehp9.
  1760. :dd.Selecting this item just displays the online help panel you are currently
  1761. reading.
  1762. :edl.
  1763. :p.:link reftype=hd res=&ID_OVERVIEWHELP..<Backward>:elink.
  1764.                                 :link reftype=hd res=&ID_COMPATIBILITY..<Forward>:elink.
  1765.  
  1766. .****************************************************************************************
  1767. .*--------------------------------------------------------------------------------------*
  1768. .* The user selected compatibility information                                          *
  1769. .*--------------------------------------------------------------------------------------*
  1770. .****************************************************************************************
  1771.  
  1772. :h1 res=&ID_COMPATIBILITY..PC/2's Compatibility with other applications
  1773. :p.This section provides information about compatibility with some (but certainly not
  1774. all) useful packages. (EWS is the abbrevation for Employee Written Software, a
  1775. program of IBM to promote programs written by its emplyees outside of IBM.
  1776. OS2TOOLS is the OS/2 utilities archive on the IBM internal use only IBMPC conference
  1777. disk.)
  1778. :dl tsize=12 break=fit.
  1779. :dthd.:hp4.Program&colon.
  1780. :ddhd.Compatibility information.:ehp4.
  1781. :dt.:hp9.BOOTOS2:ehp9.
  1782. :dd.This package, available as EWS (or from OS2TOOLS), allows you to create a bootable
  1783. system to either diskette or harddisk. 
  1784. The bootable system can range from a single command prompt, over a PM to
  1785. a complete WPS setup. This is useful for creating a bootable maintenance partition on
  1786. a logical FAT (because HPFS requires a CHKDSK when not shut down correctly) drive
  1787. (requiring under 10 MB disc space), allowing you to recover a
  1788. unbootable production partition (e.g. changes in CONFIG.SYS which made it unbootable)
  1789. or to remove files, which would have been locked when booting from your production partition.
  1790. :p.After creating a PM setup, the standard OS/2 command processor
  1791. CMD.EXE is your Workplace Shell process.
  1792. :p.By replacing the line :hp4.SET RUNWORKPLACE=\OS2\CMD.EXE:ehp4., which
  1793. :hp4.BOOTOS2:ehp4. creates in your :hp9.CONFIG.SYS:ehp9., by
  1794. :hp4.SET RUNWORKPLACE=\PC2\PC2.EXE:ehp4., assuming you have installed PC/2 into the
  1795. directory :hp4.\PC2:ehp4. on the boot drive, PC/2 will be a more comfortable
  1796. Workplace Shell process. You can of course copy your existing :hp9.PC2.CFG:ehp9. file
  1797. to this directory, to continue fast access to your favorite programs.
  1798. :dt.:hp9.IPFCPREP:ehp9.
  1799. :dd.This package, available as EWS (or from OS2TOOLS) is a great help for writing
  1800. online help panels (that is compiling *.IPF files into *.HLP files).
  1801. This package contains a preprocessor that adds conditional compiling, macros and
  1802. some more things, which the IPFC (Information Presentation Facility Compiler) is
  1803. definitely missing.
  1804. :dt.:hp9.PMPRINTF:ehp9.
  1805. :dd.This package, available as EWS (or from OS2TOOLS) is a great help for debugging
  1806. PM programs.
  1807. This package contains an object named :hp4.PRINTF.OBJ:ehp4., which can be linked in
  1808. into an executable to replace the standard C-function printf(), which writes to
  1809. stdout, by a printf() that forwards the output into the window of a PM server
  1810. application.
  1811. This allows real-time traces of stdout output, which you can get otherwise for PM
  1812. programs only by redirecting stdout to a file, and analysing the file afterwards.
  1813. :dt.:hp9.PMSPY:ehp9.
  1814. :dd.This package, available from OS2TOOLS is a great help for debugging
  1815. PM messaging.
  1816. This package consists of a spy, which allows you the see (of course you may define
  1817. filters to see only some of) all PM messages sent within a process and between processes.
  1818. :dt.:hp9.PMTREE:ehp9.
  1819. :dd.This package, available as EWS (or from OS2TOOLS) or is a great help for analysis
  1820. of the hierarchy of all PM windows and within PM windows.
  1821. It allows you to see which controls a window consist of, and which styles, resources,
  1822. process IDs, window text, position and size,... are assigned to a window.
  1823. :dt.:hp9.OS/2 2.x:ehp9.
  1824. :dd.PC/2 was successfully tested with OS/2 2.10 and 2.11 US. It may also be compatible
  1825. with OS/2 2.00, but this was not tested.
  1826. :dt.:hp9.OS/2 WARP:ehp9.
  1827. :dd.PC/2 is fully compatible with OS/2 WARP. Using previous versions of PC/2
  1828. (1.70 and before) may cause problems when using the :hp4.Virtual Desktop:ehp4..
  1829. Of course, you can continue to use the Launchpad together with PC/2.
  1830. :edl.
  1831. :p.:link reftype=hd res=&ID_PC2SPOOLERWINDOW..<Backward>:elink.
  1832.                                 :link reftype=hd res=&ID_FAQ..<Forward>:elink.
  1833.  
  1834. .****************************************************************************************
  1835. .*--------------------------------------------------------------------------------------*
  1836. .* The user selected error help.                                                        *
  1837. .*--------------------------------------------------------------------------------------*
  1838. .****************************************************************************************
  1839.  
  1840. :h1 res=&ID_ERRORHELP..Help for PC/2 Errors
  1841. :p.PC/2 can't verify all user input for validity, so some user input may cause
  1842. some PC/2 functions to fail. In this case, a message box is displayed containing
  1843. the module and the sourcecode linenumber that failed. Also, an error message is
  1844. displayed, containing which error occurred and what should be done to resolve the
  1845. problem.
  1846. :p.E.g. you might've configured to start the program :hp4.VIEW.EXE:ehp4. by
  1847. writing :hp4.c&colon.\os3\view.exe:ehp4. in the entryfield :hp9.Path and Filename:ehp9.
  1848. in the Program Installation dialog. This of course leads to an error, because when
  1849. OS/2 tries to start this item, it can't find the directory :hp4.\os3\:ehp4. simply
  1850. because it should read :hp4.\os2\:ehp4.. A message box is displayed saying an
  1851. error occurred, and that the user input should be corrected.
  1852. :p.Some messages aren't even errors, just warnings (e.g. the message that informs
  1853. you that the file PC2.INI does not exist or must be updated from a previous version
  1854. of PC/2).
  1855. :p.:link reftype=hd res=&ID_COMPATIBILITY..<Backward>:elink.
  1856.                                 :link reftype=hd res=&ID_FAQ..<Forward>:elink.
  1857.  
  1858. :h2 res=&HELP_PC2LOADED..Help for running PC/2
  1859. :p.PC/2 detected that one instance of PC/2 is already running
  1860. in your system. PC/2 can only be run once concurrently, this instance
  1861. will therefore shutdown itself.
  1862. :p.Please ensure that only one instance of PC/2 gets started concurrently,
  1863. to avoid this error message.
  1864. This limitation also applies when running two different versions of PC/2,
  1865. which also may trap all instances of PC/2 due to version incompatibilities.
  1866.  
  1867. :h2 res=&HELP_DLLLOADED..Help for loading DLLs
  1868. :p.PC/2 requires access to the DLL :hp4.PC2HOOK.DLL:ehp4..
  1869. OS/2 reported that this DLL or a function within this DLL couldn't be loaded
  1870. successfully.
  1871. :p.Please ensure that :hp4.PC2HOOK.DLL:ehp4. is in the directory PC/2
  1872. was started from.
  1873. You should also ensure that you don't use the DLL from another version of PC/2,
  1874. because they are very likely incompatible.
  1875. You can check the version by comparing the file dates, which should be
  1876. identical.
  1877.  
  1878. :h2 res=&HELP_PC2INI..Help for accessing PC2.INI
  1879. :p.A problem occurred accessing the profile :hp9.PC2.INI:ehp9..
  1880. You will usually get this message when :hp9.PC2.INI:ehp9. can't be accessed,
  1881. either because PC/2 can't read from it, or write to it.
  1882. :p.When you are running PC/2 for the first time, this message just
  1883. informs you that an empty or non-existant profile was found.
  1884. Once you enter some configuration data, PC/2 will then create
  1885. this file, which will then be used for future invocations.
  1886.  
  1887. :h2 res=&HELP_PC2SPOOLDLL..Help for loading PC2SPOOL.DLL
  1888. :p.PC/2 requires access to the DLL :hp8.PC2SPOOL.DLL:ehp8..
  1889. OS/2 reported that this DLL or a function within this DLL couldn't be loaded
  1890. successfully.
  1891. :p.Please ensure that :hp8.PC2SPOOL.DLL:ehp8. is in the directory PC/2
  1892. was started from.
  1893. You should also ensure that you don't use the DLL from another version of PC/2,
  1894. because they are likely incompatible.
  1895. You can check the version by comparing the file dates, which should be
  1896. identical.
  1897. :p.This message is only informational - you may continue using PC/2,
  1898. however the :hp9.Spooler:ehp9. interface is disabled.
  1899.  
  1900. :h2 res=&HELP_PC2THREAD..Help for creating working thread
  1901. :p.To improve overall system performance, OS/2 was designed to support multithreading
  1902. for applications.
  1903. PC/2 also uses this feature, to perform time-intensive tasks with a
  1904. second working thread, to avoid unresponsiveness of PM.
  1905. :p.During creation of this working thread, an error occurred.
  1906. PC/2 will not be able to continue.
  1907. :p.You may have run out of resources - close some windows or applications
  1908. and retry.
  1909. You may have run out of threads; if you are using applications that take
  1910. full power using multiple threads, increase the :hp4.THREADS:ehp4. count
  1911. in your :hp9.CONFIG.SYS:ehp9. then.
  1912.  
  1913. :h2 res=&HELP_PC2CFG..Help for accessing PC2.CFG
  1914. :p.A problem occurred accessing the profile :hp9.PC2.CFG:ehp9., or the profile you specified
  1915. using the :hp4.-Profile:ehp4. commandline parameter.
  1916. You will usually get this message when :hp9.PC2.CFG:ehp9. can't be accessed,
  1917. either because PC/2 can't read from or write to.
  1918. :p.When you are running PC/2 for the first time, this message just
  1919. informs you that an empty or non-existant profile was found.
  1920. Once you enter some configuration data, PC/2 will create this file,
  1921. and use it for future invocations.
  1922.  
  1923. :h2 res=&HELP_PC2HOOK..Help for PC/2's hooks
  1924. :p.PC/2 requires to be able to hook into two hooks provided by OS/2 - (the
  1925. Input hook and the Sendmessage hook), in order to intercept mouse movements,
  1926. key presses and window positioning.
  1927. :p.If you experience this error during initialization of PC/2, you
  1928. can't continue.
  1929. Ensure that :hp4.PC2HOOK.DLL:ehp4. is accessible in the directory you installed
  1930. PC/2 into, and rerun PC/2 again.
  1931. :p.If you experience this error during shutdown of PC/2 it is
  1932. recommended to shut down OS/2 to avoid possible data loss.
  1933.  
  1934. :h2 res=&HELP_CREATEDIALOG..Help for dialog creation
  1935. :p.You selected an option that required further user intervention.
  1936. PC/2 tried to load a dialog window to get the necessary user
  1937. input, but loading the dialog failed.
  1938. :p.You may have run out of resources.  Close some windows and applications and
  1939. retry again.
  1940.  
  1941. :h2 res=&HELP_SETPATH..Help for changing directory
  1942. :p.PC/2 tried to change the current working directory on a drive.
  1943. OS/2 reported that a call accessing the directories was unsuccessful, however you may
  1944. ignore this message and continue your work.
  1945. :p.You may notice that a selected session didn't get started, or the working
  1946. directory on a drive wasn't changed correctly.
  1947.  
  1948. :h2 res=&HELP_PRIORITY..Help for changing priority
  1949. :p.PC/2 allows you to specify the priority for some session types,
  1950. which required PC/2 to change its priority, because the current
  1951. priority gets inherited to sessions started by PC/2
  1952. :p.You may ignore this message and continue your work, however a shut down is
  1953. suggested to avoid potential data loss.
  1954.  
  1955. :h2 res=&HELP_LAUNCH..Help for starting a session
  1956. :p.An error occurred when PC/2 tried to launch the selected session.
  1957. You may verify the parameters you entered for the session and retry the
  1958. operation.
  1959. :p.If a module name is given, that is a DLL of the product to be started,
  1960. you may have to add this DLL to a path pointed to by the LIBPATH environment
  1961. variable, or alternatively specify the BEGINLIBPATH or ENDLIBPATH settings
  1962. under OS/2 Warp.
  1963. :p.You may also check the following items:
  1964. :ul.
  1965. :li.Is the executable's name correctly spelled?
  1966. :li.If you don't have specified a working directory, does the executable's name
  1967. include full path information?
  1968. :li.Is the working directory spelled correctly?
  1969. :li.Are all DLLs required by the application accessible for the OS/2 loader?
  1970. (Refer to your application's documentation on how to install the product correctly.)
  1971. :li.Is the application's environment specified correctly?
  1972. :li.Is the application's session type specified correctly?
  1973. :li.Have you tried to start the application through a command processor (CMD.EXE
  1974. for OS/2 programs, or COMMAND.COM for DOS programs)?
  1975. :li.Have you tried to start the application using the same parameters as entered in
  1976. the application's Program Installation notebook in a command processor window?
  1977. :eul.
  1978. :p.If the failure persists, you may have run out of resources, close some
  1979. windows and applications and retry again.
  1980. You may have run out of threads.  If you are using applications that take
  1981. full power using multiple threads, increase the :hp4.THREADS:ehp4. count
  1982. in your :hp9.CONFIG.SYS:ehp9. then.
  1983.  
  1984. :h2 res=&HELP_MEDIA..Help for accessing media
  1985. :p.PC/2 tried to access removable or non-removeable media to
  1986. determine the media's parameters.
  1987. OS/2 reported that a call accessing the media was unsuccessful, however you may
  1988. ignore this message and continue your work.
  1989. :p.You may notice that a selected session didn't get started, or the working
  1990. directory on a drive wasn't changed correctly.
  1991.  
  1992. :h2 res=&HELP_PC2RUNNINGASWPS..Help for PC/2 as WorkPlace process
  1993. :p.When running PC/2 as WorkPlace Shell (WPS) process, you will not
  1994. be able to close, and therefore terminate, PC/2.
  1995. PC/2 will ignore any requests to close from the Window List and the Menuentry
  1996. and Smarticon to close PC/2 are disabled during PC/2's initialization.
  1997. :p.This is not a limitation of PC/2, OS/2 always restarts the application
  1998. configured as the WorkPlace process, when this process terminates for some reason.
  1999. You may have noticed that the WPS itself gets restarted when it traps due to
  2000. an error caused by itself or its registered WPS Objects.
  2001. :p.If you no longer want to use PC/2 as the WorkPlace process, please
  2002. refer to :link reftype=hd res=&ID_INSTALLATIONHELP..Installing PC/2:elink. on how
  2003. to undo the changes you made to use the PC/2 as the WorkPlace process.
  2004.  
  2005.  
  2006. .****************************************************************************************
  2007. .*--------------------------------------------------------------------------------------*
  2008. .* The user selected FAQ help.                                                          *
  2009. .*--------------------------------------------------------------------------------------*
  2010. .****************************************************************************************
  2011.  
  2012. :h1 res=&ID_FAQ..Help Questions &. Answers
  2013. :p.The following questions and answers is the online help version of
  2014. :hp4.PC2.FAQ:ehp4..
  2015. :p.
  2016. :font facename=Courier size=8x4.
  2017. :xmp.
  2018. .im ..\PC2.FAQ
  2019. :exmp.
  2020. :font facename=default size=0x0.
  2021. :p.:link reftype=hd res=&ID_ERRORHELP..<Backward>:elink.
  2022.                                 :link reftype=hd res=&ID_HELP..<Forward>:elink.
  2023.  
  2024.  
  2025. :euserdoc.
  2026.  
  2027.