Re: invalidate ??

From: Daniel Bass (DanielBass)
Date: 08/16/04


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
>
>
>



Relevant Pages

  • Re: Tiger + Word 11.1.1 + 30" Cinema Display = A Disturbing Display Bug
    ... > upper half of the window. ... > approximateing the hieght of the PB display. ... > lower right wiindow corner to resize. ... This is an issue that was brought about due to an incompatiblity with Tiger ...
    (microsoft.public.mac.office.word)
  • Re: Outlook Custom form - resize event handling
    ... Is Inspector represents the message window itself? ... hook on the form and will resize... ... I used standard Message template and added custom control on ...
    (microsoft.public.office.developer.com.add_ins)
  • Re: Is this page broken?
    ... Most Windows installations let you resize the display - that's what I ... My default resolution is 1280x1024, but it's pretty easy to switch ... browser window. ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: WMP control resizing
    ... > getting the WMP9 activex control in a window and playing movies etc. ... when you want to resize the control in MFC, ...
    (microsoft.public.windowsmedia.sdk)
  • Re: Resizing Motif/Xaw/Xlib apps vs. resizing GTK/Qt apps, and how to speed up an Xlib app
    ... experiencing difficulties with resize events. ... And the contents of my window are lagging up really badly because ... window system that wasn't based on X11, and I've worked with X11 for years. ... the application receives a ConfigureNotify due to step 4 and at some ...
    (comp.windows.x)