Re: why a modal dialog prevent view to redraw?
- From: "RainMan" <RainMan@xxxxxxxxxxxxx>
- Date: Fri, 29 Apr 2005 18:33:01 -0700
Hi Guido, as usual you are right.
I consider it luck to meet you here, making an allowance for small
probability of reading the same post at approximately the same time.
"Guido Stercken-Sorrenti [MVP VC++]" wrote:
> > Maybe I have found the bug.
> > I use the code
> > // if (!pDC->RectVisible(&rc))
> > // return;
> > but in MM_ANISOTROPIC and MM_TEXT map mode, function RectVisible() return
> > different value.
>
> Yes, looks like it could be the problem. Note that the rect you pass to
> RectVisible() has to be in locical units, so you'll have to call DPtoLP() if
> your rc is in device units.
>
> --
> Guido Stercken-Sorrenti
> MVP - Visual Developer / Visual C++
>
>
>
.
- References:
- why a modal dialog prevent view to redraw?
- From: flyingxu
- Re: why a modal dialog prevent view to redraw?
- From: Guido Stercken-Sorrenti [MVP VC++]
- Re: why a modal dialog prevent view to redraw?
- From: flyingxu
- Re: why a modal dialog prevent view to redraw?
- From: Guido Stercken-Sorrenti [MVP VC++]
- why a modal dialog prevent view to redraw?
- Prev by Date: Re: CWnd & CStatic Based Windows, How to detect mouse leaving the
- Next by Date: Re: why a modal dialog prevent view to redraw?
- Previous by thread: Re: why a modal dialog prevent view to redraw?
- Next by thread: Re: why a modal dialog prevent view to redraw?
- Index(es):