home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 24 DOS / 24-DOS.zip / nicew35t.zip / README.TXT < prev    next >
Text File  |  2000-07-25  |  4KB  |  89 lines

  1. NICE-WIN - the OS/2 look and feel for Win-OS/2
  2. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3. Version 3.5T
  4.  
  5. This is a modified version of NICE-WIN from the NICE-OS2 package
  6. from Sergey Posokhov <abc@posokhov.msk.ru>, many thanks for this great work !
  7.  
  8. The modification in this version is that the buttons for Maximize,
  9. Return to Windowed, Minimize, Rollup, Rolldown and Close are OS/2 Warp 4 like.
  10. All other features are unchanged.
  11.  
  12. This version can be used standalone for Win-OS/2 without the installation of
  13. NICE-OS2.
  14. For the full package look at hobbes and search for NICE-OS2.
  15.  
  16. Installation:
  17. ~~~~~~~~~~~~~
  18. After the unzipping of this archive simple run INSTALL.CMD and follow the
  19. instructions. Also do this for updating, your settings will not be overwritten.
  20. The installation program modifies the 'load' line of WIN.INI to start
  21. the NICE-WIN.EXE automatically at startup of the Win-OS/2 session. To
  22. launch it also at the the startup of a seamless windows program you can
  23. use the WINSTART.EXE from Sergey Posokhov that detects all programs in the
  24. 'load' line of WIN.INI and starts them.
  25. Here is an Example for the system control:
  26. - Make an OS/2 program object
  27. - WINSTART.EXE as command
  28. - CONTROL.EXE as parameter
  29.  
  30. So the WINSTART.EXE starts all programs in the 'load' line of WIN.INI inclusive
  31. NICE-WIN and then CONTROL.EXE.
  32.  
  33. In this version 3.5T you can set the ressource size for the controls according
  34. to your video settings. Because it is difficult to detect the size that is
  35. neccesary you must set it manually.
  36. Make an entry name "Ressource Size" in your NICE-WIN.INI in the "Settings" section.
  37. The parameter can be one of the following:
  38. "S" for small
  39. "M" for medium
  40. "B" for big
  41. "E" for extra
  42. Look at the sample NICE-WIN.INI in this package that will only copied to your
  43. Win-OS/2 directory if it is not present there.
  44. If the entry is not found in the NICE-WIN.INI the "S" is the default setting.
  45. Example for 1024x768 with big ressources:
  46. Ressource Size=M
  47.  
  48. Note:
  49. This version is compiled with Borland C++ V 4.62 and needs the runtime library
  50. BC450RTL.DLL which is installed in the Win-OS/2 system directory.
  51.  
  52. Customize the video driver:
  53. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  54. You can also put the controls in your video driver to have them without using
  55. NICE-WIN and WINSTART. These are naturally only the standard controls, normally
  56. Windows does not know the 'one close' button and the rollup and the rolldown
  57. button. But with the customizing the video driver you get the OS/2 like controls
  58. for the scrollbars, listboxes etc. So the look is more OS/2 like.
  59.  
  60. At first you must find the file names of your video driver(s). 
  61. Two Examples:
  62. S3 Vision 968 has two drivers: S3LINEAR.DRV (full screen), 
  63.                                SSLINEAR.DRV (seamless)
  64. Matrox has one driver for full screen and seamless: SMGAX64.DRV
  65. The GRADD driver from IBM or in Scitech SDD: IFGDI2VM.DRV (full screen),
  66.                                              ISGDI2VM.DRV (seamless)
  67.  
  68. You find the names in the SYSTEM.INI under the [boot] section in the entrys
  69. fdisplay=...
  70. sdisplay=...
  71.  
  72. To customize them you must have a resource editor, for example Resource Workshop
  73. from Borland. With this do the following:
  74. - select "Open Project"
  75. - select type "DRV"
  76. - open the driver file
  77. - delete the bitmap resources 1966..1986,3966..3986,5966..5986,32734..32754
  78. - select "Add to project" in the file menu
  79. - select the type "RES"
  80. - open the file "TWCTRLS.RES"
  81. - look at the bitmap resources, there should be the new bitmaps
  82. - save the project and close Resource Workshop
  83.  
  84. Good Luck !
  85.  
  86. Thomas Bohn
  87. e-mail: Thomas@Bohn-Stralsund.de
  88. homepage: http://Bohn-Stralsund.de
  89.