Re: invalidate ??
From: Daniel Bass (DanielBass)
Date: 08/16/04
- Next message: Daniel Bass: "Re: Registry key cannot write.."
- Previous message: Nick Malik: "Re: Design/implementation question"
- In reply to: Marge Inoferror: "invalidate ??"
- Next in thread: Marge Inoferror: "Re: invalidate ??"
- Reply: Marge Inoferror: "Re: invalidate ??"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 16 Aug 2004 09:38:12 +0100
Create an ovveride event for window resize and call "Refresh()" from within
it.
"Marge Inoferror" <inevercheckthis2002@yahoo.com> wrote in message
news:IZTTc.1525$yj3.257117@newssvr28.news.prodigy.com...
> I am trying to display a number of images and have them scale when the
> window is resized.
>
> I have all the code to draw the window in an OnPaint() override.
>
> However, it only draws correctly the first time it is displayed. When I
> resize the window, it keeps the remnants of the first window and redraws
> only in "new" areas of the window.
>
> Is there a way to invalidate the entire window when OnPaint is invoked? I
> thought I would get that automatically and that I would have to code
smaller
> invalidated rectangles if that's what I needed...
>
> Thanks,
> Marge
>
>
>
- Next message: Daniel Bass: "Re: Registry key cannot write.."
- Previous message: Nick Malik: "Re: Design/implementation question"
- In reply to: Marge Inoferror: "invalidate ??"
- Next in thread: Marge Inoferror: "Re: invalidate ??"
- Reply: Marge Inoferror: "Re: invalidate ??"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|