home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / wpnewf.zip / readme.txt < prev    next >
Text File  |  1993-11-17  |  3KB  |  71 lines

  1. Thank you for using this "utility". I hope you find it useful and helps you
  2. spread the "WORD".
  3.  
  4. In fact, as the title says, this program installs a new WPFolder class in the
  5. WPS. This new class is called WPNEWF. It has the following proprerty:
  6. If you press "F2" when opening a folder, the parent folder is closed.
  7.  
  8. This helps reduce the clutter on the desktop.
  9.  
  10. I had to use F2 as F1, ALT, CTRL and the SHIFT keys are already used by the
  11. WPS.
  12.  
  13. Installation:
  14. =========
  15. It is very simple, just copy the wpnewf.dll file to a directory specified in
  16. your LIBPATH (e.g. C:\OS2\DLL), then run the wpnewfi.exe program passing the
  17. directory name as a parameter (e.g. wpnewfi c:\os2\dll).
  18.  
  19. You have to reboot in order to get the desired behaviour.
  20.  
  21. If something goes wrong, or you want to deinstall this new class, just run
  22. wpnewfd.exe, and reboot.
  23.  
  24. Overview:
  25. ========
  26. How does the program work: very simple, I just declare a new WPS class that is
  27. a sub-class of WPFolder, and hence acts exactly as WPFolder. Then I Override
  28. wpOpen, and in there test if F2 was pressed. If No, nothing happens, and the
  29. new class just does as WPFolder was supposed to do. If F2 was pressed, the
  30. program will test if the parent folder is the desktop, if so nothing happens,
  31. otherwise, the parent folder is sent a message to close itself. Easy, isn't it.
  32.  
  33.  
  34.  
  35.  
  36. This archive contains the following files:
  37. wpnewf.dll           ===========> Class module DLL,
  38. wpnewfi.exe         ===========> Installation program,
  39. wpnewfd.exe         ===========> De-installation program,
  40.  
  41. Then the sources:
  42. wpnewf.csc          ===========> Som idl definition file
  43. wpnewf.h
  44. wpnewf.c
  45. wpnewf.ih
  46. wpnewf.sc           ===========> actual source files generated by the Som compiler,
  47. makedefs.inc
  48. wpnewf.mak         ===========> Make files
  49.  
  50. Disclaimer:
  51. =========
  52. I only tested this program on two machines, both under OS/2 2.1. I had no
  53. problems with it. Nevertheless, These files are supplied with no warranty
  54. whatsoever. I won't be responsible for any damage or ..... that may result from
  55. using this program.
  56.  
  57. How to contact me:
  58. ================
  59. I usually read messages on fidonet in OS2PROG, OS2WPS and OS2REXX.
  60. So If you have any remarks please leave me a message there. Otherwise,
  61. you can send me mail at:
  62. Ghassan SALEM
  63. 7Ter, Rue Duvergier
  64. 75019 Paris
  65. France.
  66.  
  67. If you like the program, and you really find it usefull, you cand send any
  68. contribution you want to the above address. It will help finance the upgrade
  69. to CSet++/2 2.1.
  70.  
  71.