PRB: Dotted Line Displays as Solid Line

ID: Q24179


The information in this article applies to:
  • Microsoft Windows Software Development Kit (SDK) versions 3.1, 3.0
  • Microsoft Win32 Application Programming Interface (API), included with:
    • Microsoft Windows NT, versions 3.5, 3.51
    • Microsoft Windows versions 95, 4.0


SYMPTOMS

When an application creates a dotted line using a dotted pen and the R2_NOT mode, a solid line is drawn on the screen.


CAUSE

The background mode is OPAQUE. This is the default background mode. In this mode, the line is painted with the background color first, followed by the pen.


RESOLUTION

Use the SetBkMode() function to set the mode to TRANSPARENT. In this mode, only the pen is used; the background is not disturbed.

Additional query words: 3.00 3.10 3.50 4.00 win16sdk

Keywords :
Version :
Platform :
Issue type :


Last Reviewed: March 3, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.