Question

Locked

Invalidate

By sid_kraft ·
Using Winxp Pro, SP2, Visual C++ 6.0, when I enter Invalidate(), screen flickers wildly, with Invalidate(false) screen flickers very mildly, Invalidate(true) screen flickers very wildly, any ideas, what are the ramivications of the use if this function? Sid Kraft

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Invalidate(true)

by Tony Hopkinson In reply to Invalidate

also invalidates any child controls, recursively I seem to think as well.
So the flicker depends on what you invalidate and how much it covers.

Invalidate is the most efficient way of getting something to repaint. In that it bands a request on the windows message queue and copes with 'extra' requests.
The flicker problem is usually down to redrawing too much.

Are these your own controls or standard ones?

Back to Web Development Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums