home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / mnicon2.zip / MNIcon.doc < prev    next >
Text File  |  1996-02-09  |  2KB  |  72 lines

  1. MNIcon - enhanced icon class for the Workplace Shell (release 2: 02/09/96)
  2.  
  3. "MNIcon" class is a replacement for the default "WPIcon" class.  It adds 
  4. 'drag & drop' functionality to the icon class so that, to set the icon of an 
  5. object, you can simply drag and drop it on an icon file (*.ICO).
  6.  
  7. The archive contains the following files:
  8.  
  9.     MNIcon.doc   this file
  10.     MNIcon.c     class source
  11.     MNIcon.csc   SOM class definition
  12.     MNIcon.dll   class dll
  13.     install.cmd  installation script
  14.     uninst.cmd   uninstallation script
  15.     repclass.exe WPS class replacement utility
  16.  
  17. This program is in public domain.
  18.  
  19. 1.  Installation
  20.  
  21.     1) copy MNIcon.dll to a directory listed in your LIBPATH (e.g.,
  22.     C:\OS2\DLL);
  23.  
  24.     2) execute "install.cmd" script;
  25.  
  26.     3) reboot the system.
  27.  
  28. 2.  Uninstallation
  29.  
  30.     1) execute "uninst.cmd" script;
  31.     
  32.     2) reboot the system.
  33.  
  34. 3.  Usage
  35.  
  36.     To set the icon of an (non-icon) object to the icon of a *.ICO file,
  37.  
  38.         1) open a view of the folder containing the *.ICO file so that you can
  39.         see the icon;
  40.  
  41.         2) drag the object and drop it on the icon of the *.ICO file.
  42.  
  43.     You can drop multiple objects on an icon.
  44.  
  45.     You cannot drop a *.ICO icon file object on another *.ICO icon file object.
  46.  
  47. 4.  Compilation
  48.  
  49.     This program is compiled with IBM C Set/2 (with ToolKit).  To re-build,
  50.     type "nmake -f MNIcon.mak".
  51.  
  52. 5.  Notes
  53.  
  54.     The 'association' trick used in version 1.0 doesn't work any more with
  55.     Warp, so this version uses simpler 'class replacement' method.
  56.  
  57.     Some extended attributes (EA) may be added by the system to the *.ICO files
  58.     (marking them as instances of 'MNIcon' class).  This may cause problems
  59.     when the *.ICO files with this EA is copied to a system without MNIcon.
  60.     If you experience problems, remove the EAs using the 'EAUTIL' utility 
  61.     (regular *.ICO files don't have any EA); e.g., to remove EAs from all 
  62.     *.ICO files in the current directory, type something like:
  63.  
  64.         for %f in (*.ICO) do EAUTIL %f NUL /S
  65.  
  66.     This program is tested on OS/2 Warp (with FixPack 17).
  67.     Although the program seems working so far, please use it at your own risk.
  68.  
  69.  
  70. Makoto Nagata
  71. mnagata@crl.com
  72.