Ram Baruch
2004-06-13 13:58:54 UTC
Hi,
I'm calling CPen::CreatePen() and passing PS_DASH (white color). My
background is black BUT the line I draw (using the CPen object) is drawn on
an existing WHITE line. As a result, I cannot see the new dashed line
(because it doesn't draw anything between the small lines so I see only one
solid line).
I know that I can draw two lines- one black and one dashed white, but the
question is if I can draw only one dashed line so that between the white
small lines it will draw black lines?
Regards,
Ram.
I'm calling CPen::CreatePen() and passing PS_DASH (white color). My
background is black BUT the line I draw (using the CPen object) is drawn on
an existing WHITE line. As a result, I cannot see the new dashed line
(because it doesn't draw anything between the small lines so I see only one
solid line).
I know that I can draw two lines- one black and one dashed white, but the
question is if I can draw only one dashed line so that between the white
small lines it will draw black lines?
Regards,
Ram.