home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / hischgct.zip / chg_pm.HLP (.txt) < prev    next >
OS/2 Help File  |  1996-01-03  |  12KB  |  262 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. General Help ΓòÉΓòÉΓòÉ
  3.  
  4. Welcome to Change Controls, a utility that allows you to change the default 
  5. controls (Minimize, Maximize, etc..) in OS/2 to whatever you want. I decided to 
  6. write this utility after getting bored with the CUA91 controls that OS/2 
  7. currently has.  Hopefully the next version of OS/2 will be better looking. 
  8.  
  9. If this program is useful to you, I would appreciate if you could send a 
  10. Donation of whatever you think this program is worth to you to the following 
  11. address: 
  12.  
  13. Matt Schellhaas 
  14. 1204 Berkeley Dr. 
  15. Falling Waters, WV 25419 
  16. USA 
  17. Internet: c2mxsche@fre.fsu.umd.edu 
  18.  
  19. All Donations will go towards me finishing my CS degree, and if in the future I 
  20. decide to make this shareware, you will be automatically registered. Please 
  21. include a little note with your name, address, and e-mail address with all 
  22. donations. 
  23.  
  24. Change Controls is Copyright (c) 1995, Matt Schellhaas 
  25. All Rights Reserved. 
  26.  
  27. LEGAL STUFF 
  28.           While I don't see any reason why this could cause trouble, I take no 
  29.           responsibility for any adverse side effects. 
  30.  
  31. By running this utility, you agree to the following 
  32.           IN NO EVENT WILL Matt Schellhaas OR ANYONE RELATED TO THIS PRODUCT BE 
  33.           LIABLE TO  YOU FOR  ANY  SPECIAL,  CONSEQUENTIAL, INDIRECT OR 
  34.           SIMILAR  DAMAGES,INCLUDING  ANY LOST PROFITS OR LOST DATA ARISING OUT 
  35.           OF  THE  USE OR  INABILITY TO USE THE SOFTWARE OR ANY DATA SUPPLIED . 
  36.  
  37. ***Make Sure You Make a Backup of pmmerge.dll*** 
  38.  
  39. This will ONLY work with os/2 warp, so do not try and use it with 2.11 or 
  40. earlier. 
  41.  
  42. This utility uses RESMGR which was written by Martin Lafaix.(The entire 
  43. distribution of RESMGR is in resmgr.zip) 
  44.  
  45.  
  46. ΓòÉΓòÉΓòÉ 2. Installing Change Controls ΓòÉΓòÉΓòÉ
  47.  
  48. The first thing your should do is run install.cmd 
  49.  
  50. (This will copy all of the program files and set up a WPS folder for change 
  51. controls) 
  52.  
  53. In order for Change Controls to work properly,you must have RC.exe (should be 
  54. in the /OS2 directory) and REXX support installed. The Icon Editor should also 
  55. have been installed. 
  56.  
  57. All of these should have been installed if you did a default install of os/2, 
  58. but if for some reason, you did not install them, run the selective install 
  59. program.  RC.EXE will be installed if you choose (system utils/link object 
  60. modules) and REXX is installed when the REXX support is checked. 
  61.  
  62. Also, you should have a temp variable set.  Adding one of the following 
  63. statements to your config.sys will accomplish this: 
  64.  
  65. set TEMP=Drive letter\TEMP -or- 
  66.  
  67. set TMP=Drive letter\TEMP 
  68.  
  69. (be sure to actually create these directories) 
  70.  
  71. Change controls should also be installed in its own directory (make sure this 
  72. directory is not named "TEMP" or "TMP") 
  73.  
  74. Next, copy PMMERGE.DLL from your /os2/dll directory into the directory that you 
  75. installed the utility into. 
  76.  
  77. (This is no longer necessary if you use the install program) 
  78.  
  79. Add the following line to your config.sys so that change controls will 
  80. automatically copy your patched dll over the old one: 
  81.  
  82. CALL=PATH TO CHANGE CONTROLS\swap_dll.exe 
  83.  
  84. /cLOCATION OF YOUR CMD.EXE FILE 
  85.  
  86. /sCHANGE CONTROLS DIRECTORY 
  87.  
  88. /dDrive os/2 is installed in \os2\dll 
  89.  
  90. /wTIME TO WAIT 
  91.  
  92.  (This should all be on one line) 
  93.  
  94.  Press here to load e.exe with an example  (for some reason, the os/2 help 
  95. compiler will not allow me to use colons at all in help files (??).  It seems 
  96. to think they are the beginning of a tag, so I could not include the sample 
  97. here! If anyone knows a workaround for this, please e-mail me! 
  98.  
  99. How to swap dll's without swap_dlls.exe 
  100.  
  101.  
  102. ΓòÉΓòÉΓòÉ 3. Using the Utility ΓòÉΓòÉΓòÉ
  103.  
  104. To use change controls, 
  105.  
  106. Run chg_pm.exe. 
  107.  
  108. Select /Actions/Change Controls 
  109.  
  110. Your pmmerge.dll file will then be patched. 
  111.  
  112. Reboot your system 
  113.  
  114. If you installed the swap_dlls program, your patched dll will automatically be 
  115. copied over the original. 
  116.  
  117.  Press here to load e.exe with an example of how to install the swap dll's 
  118. utility 
  119.  
  120. How to swap dll's without swap_dlls.exe 
  121.  
  122.  To change the bitmaps provided, see "Creating your own controls" 
  123.  
  124.  
  125. ΓòÉΓòÉΓòÉ 4. Creating your own controls ΓòÉΓòÉΓòÉ
  126.  
  127. To create your own controls, simply double click on the control you wish to 
  128. change.  The Icon Editor will be loaded and you can then change them to 
  129. whatever you want.  Then Select "/Actions/Change Controls" in chg_pm. 
  130.  
  131. Considerations when creating your own bitmaps 
  132.  
  133. o After drawing the desired control, be sure to select /file/save in the Icon 
  134.   Editor,  *do not save it as another file name* 
  135.  
  136. o The Buttons.bmp and List.bmp files are saved in several formats  Be sure to 
  137.   select /device/list/view in the icon editor to change all of the formats to 
  138.   the correct image. 
  139.  
  140. o In order for your new bitmaps to show up as icons in the chg_pm program, you 
  141.   will need to use pmview or another graphics utility that creates icons for 
  142.   bitmaps. 
  143.  
  144. o (The icons shown are the icon EA's for the bitmap, and I currently do not 
  145.   have any sample code as to how to create new icon EA's for a bitmap file) 
  146.  
  147. Some hints on drawing your bitmaps 
  148.  
  149. o To save yourself some time when drawing new buttons, you can quickly change 
  150.   the button from [UP] to [DOWN] by using fill to change the white borders to 
  151.   gray, and the gray borders to white 
  152.  
  153. o You should be able to see this relation here 
  154.  
  155. o The [Up] Button 
  156.  
  157. o The [Down] Button 
  158.  
  159.  
  160. ΓòÉΓòÉΓòÉ 5. Troubleshooting, History, Future, etc... ΓòÉΓòÉΓòÉ
  161.  
  162. Questions 
  163.  
  164. What are the source.zip,logos.zip,npswpscb.bmp,motif.zip, and resmgr.zip files 
  165. for? 
  166.  
  167. o source.zip contains copies of the control bitmaps.  I included them in a zip 
  168.   file in case you modify the buttons and need the originals for reference 
  169.  
  170. o logos.zip contains a new startup logo for OS/2 
  171.  
  172. o npswpscb.bmp is a replacement for the X button that npswps uses.  To use it, 
  173.   copy the file over the one contained in your npswps directory and re-start 
  174.   npswps. For versions prior to 1.81 of npswps,   type the following from a 
  175.   command line in the nps directory "rc npswpsus.r" 
  176.  
  177. o motif.zip contains buttons that look like x-window's Motif scheme.  This 
  178.   button set was drawn by Carsten Whimster (bcrwhims@uwaterloo.ca) 
  179.  
  180. o resmgr.zip contains the full archive of resmgr which this utility uses (with 
  181.   the permission of the Author: Martin Lafaix) 
  182.  
  183. Troubleshooting 
  184.  
  185. Problem- I get REXX error messages when attempting to patch pmmerge.dll 
  186.  
  187. o Did you set a TMP or TEMP variable?  Is change controls installed in a 
  188.   directory named TMP or TEMP? (If so, move it to another directory) 
  189.  
  190. Problem- I get black buttons in the listbox and/or checkboxes after I use 
  191. change controls or the buttons shown are not the ones that I drew 
  192.  
  193. o Did you draw versions for all of the device types?  (device/list/view in icon 
  194.   editor) 
  195.  
  196. Problem- After drawing a new bitmap, change controls still shows the original 
  197. one as the icon 
  198.  
  199. o This is normal.  The icon is stored as an EA for each bitmap, and you will 
  200.   currently need to use a utility such as pmview to create new ones. (I hope to 
  201.   figure out how to do this on my own in the future) 
  202.  
  203. History 
  204.  
  205. 1-1-96 [version 2.1] 
  206.  
  207. o Now an os/2 PM program to make creating your own buttons a lot easier 
  208.  
  209. o Made the reame.1st into a .inf file 
  210.  
  211. o Fixed the blank listbox and checkbox button problem 
  212.  
  213. o Added a simple install program 
  214.  
  215. 12-8-95  [2nd Release] 
  216.  
  217. o Added the ability to change the checkboxes, radio buttons, and the listbox 
  218.   icon. 
  219.  
  220. o Modified several of the controls included 
  221.  
  222. o Significant speedup in patching pmmerge.dll (Thanks to Martin Lafaix) 
  223.  
  224. 11-18-95  [1st Release] 
  225.  
  226. Possible Future Additions (No Promises on any of these) 
  227.  
  228. o Automatic addition of the swap_dll utility to your config.sys 
  229.  
  230. o Ability to automatically create a new icon for changed bitmaps 
  231.  
  232. o Add a slightly better install program 
  233.  
  234. o Add the ability to change other controls in OS/2 (I have already figured out 
  235.   how to do this, but didn't include it in this release) 
  236.  
  237. o I might make this shareware instead of just requesting donations, anyone who 
  238.   does send donations would already be registered (college is expensive to pay 
  239.   for by yourself!) 
  240.  
  241.  
  242. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  243.  
  244. Matt Schellhaas is a Computer Science Major at Frostburg State University. I am 
  245. currently looking to line up a programming job for after I graduate. 
  246.  
  247.  
  248. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  249.  
  250. To manually swap the dll's after running Change Controls, 
  251.  
  252. 1. shutdown 
  253.  
  254. 2. reboot 
  255.  
  256. 3. When  ΓûêΓûêΓûêΓûêΓûêOS/2 shows up on the top left of your screen,    Hit ALT-F1 
  257.  
  258. 4. choose C for command line 
  259.  
  260. 5. when at command line copy pmmerge.dll from current directory to    /os2/dll 
  261.  
  262. 6. reboot again, and your new controls will be used.