PRB: Dotted Line Displays as Solid Line

ID: Q24179


The information in this article applies to:


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