[comp.windows.interviews] Changing a Frame and Preventing Redraws in IV3.0B

haber@CS.WISC.EDU (Eben Merriam Haber) (05/07/91)

I am using IV3.0B.

I have a ShadowFrame with a message inside it.  I want to be able to change
the message, but when I do, the frame doesn't reflect the change until I call

  ToolNameFrame->Change(ToolMessage);

The problem: when I do this the entire screen is redrawn (which is slow and
annoying).  How can I keep the whole screen from being redrawn when I update
the contents of a frame?

Thanks!

Eben Haber
haber@micah.cs.wisc.edu

linton@marktwain.rad.sgi.com (Mark Linton) (05/08/91)

In article <9105062228.AA01892@micah.cs.wisc.edu>, haber@CS.WISC.EDU (Eben Merriam Haber) writes:
|> 
|> I am using IV3.0B.
|> 
|> I have a ShadowFrame with a message inside it.  I want to be able to change
|> the message, but when I do, the frame doesn't reflect the change until I call
|> 
|>   ToolNameFrame->Change(ToolMessage);
|> 
|> The problem: when I do this the entire screen is redrawn (which is slow and
|> annoying).  How can I keep the whole screen from being redrawn when I update
|> the contents of a frame?

I assume you mean "window" when you say screen.  Anyway, Change is for
when the shape of something changes.  To redraw, just call ToolMessage->Draw()
explicitly.