home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 May / Pcwk5b98.iso / Borland / Cplus45 / BC45 / DOC.PAK / RWINI.TXT < prev    next >
Text File  |  1995-08-29  |  2KB  |  65 lines

  1.                      RWINI.TXT
  2.                     ===========
  3.  
  4. This file explains switches used in the WORKSHOP.INI
  5. file that control driver behavior (WORKSHOP.INI is
  6. in your Windows directory).
  7.  
  8. A number of display drivers don't implement some
  9. off-screen operations correctly. This file documents
  10. specific workarounds for some of these driver problems.
  11. Most of the workarounds were tested on a variety of drivers
  12. and don't cause additional problems. However, some of these
  13. workarounds have side effects on other drivers, or they
  14. significantly affect the performance of the operation. These
  15. workarounds are controlled by switches in WORKSHOP.INI.
  16. Place all of the switches under the section [Resource Workshop].
  17.  
  18.  
  19. RWS_OwnFloodFill=1
  20. ------------------
  21. Some drivers don't perform flood fill correctly. Either the
  22. operation fails, or vertical bars are placed on byte
  23. boundaries in the image. If when using the paint can tool
  24. you see either of these symptoms, use this switch to correct
  25. it. Note that this switch is slower than the driver code.
  26.  
  27. RWS_Own16Color=1
  28. ----------------
  29. If you are creating 16-color bitmaps with custom colors
  30. (for example, a gray-scale image), you must turn off the
  31. "Save with default device colors" option in the
  32. Options|Editor options dialog box. If, after doing that, the
  33. color table returns to the default colors after saving, use
  34. this switch to correct the problem.
  35.  
  36. RWS_Own256Color=1
  37. -----------------
  38. If you're creating 256-color images with custom colors and
  39. the colors return to the default, use this switch to correct
  40. the problem.
  41.  
  42. RWS_ColorCopy=1
  43. ---------------
  44. Some drivers don't perform GetDIBits properly when the
  45. source device dependent bitmap is monochrome and either
  46. less than 8 pixels wide or an odd number of pixels wide.
  47. You can determine if this problem exists by creating a
  48. new 6X6X2-Color image. If the initial image is black,
  49. your driver has this problem. This switch copies the
  50. monochrome image to a color image before calling GetDIBits.
  51.  
  52. NoDriverHacks=1
  53. ---------------
  54. When using 256-color drivers, Resource Workshop displays
  55. a grid on all zoomed images. Use this switch to turn off the
  56. grid. If Workshop crashes when an image is zoomed, turn the
  57. switch off and report the problem to your driver manufacturer.
  58.  
  59. bAutoH=0
  60. --------
  61. Use this switch to suppress the Add File To Project dialog
  62. box when creating new .RC projects.
  63.  
  64.          ========= END OF FILE RWINI.TXT =========
  65.