Re: How to change Line Color created by CDC::LineTo?
- From: Landon <Landon@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 1 Dec 2008 18:28:01 -0800
Sorry I was mistyped. I need to HIDE the line and I was thinking about color
white.
1. I have tried:
CPen pen( PS_SOLID, 0, RGB( 255, 255, 255 ) );
CPen* pOldPen = pDC->SelectObject( &pen );
UINT nOldROP = pDC->SetROP2( R2_WHITE );
but it did not worked nor did the color as it was not white. It draws other
color of red and black as dots on screen so that it is disturbing the actual
displayed Line.
2. And also sometimes the actual displayed line color ALSO got changed to
that color.
How to fix it?
Thank you.
.
- Follow-Ups:
- Re: How to change Line Color created by CDC::LineTo?
- From: Joseph M . Newcomer
- Re: How to change Line Color created by CDC::LineTo?
- From: Jonathan Wood
- Re: How to change Line Color created by CDC::LineTo?
- References:
- How to change Line Color created by CDC::LineTo?
- From: Landon
- Re: How to change Line Color created by CDC::LineTo?
- From: Jonathan Wood
- How to change Line Color created by CDC::LineTo?
- Prev by Date: Re: Owner-data listview without flickering
- Next by Date: Re: How to change Line Color created by CDC::LineTo?
- Previous by thread: Re: How to change Line Color created by CDC::LineTo?
- Next by thread: Re: How to change Line Color created by CDC::LineTo?
- Index(es):
Relevant Pages
|