Click to See Complete Forum and Search --> : How to implement Invalidation/Redraw pattern


pgnanaprakash
June 16th, 2004, 11:26 AM
Hi Friends,

Currently i am developing Graphical editor application. In this i have to store the all drawn objects in the ptrlist. Whenever the new object will be drawn then entire list will be refreshed (i.e., redarw the whole things again)... so if the number of objects are increased, this logic mostly affects the performance. For avoiding that i got one pattern from the net "Invalidation/Redraw -- A Graphical Interface Pattern" (http://www.flowerfire.com/cs497rej/et++/InvalidationRedraw.html)

But i don't know how to implement this pattern in VC++. Let me know if anyone knows about this pattern implementation in vc++.

Regards,
Prakash

Marc G
June 16th, 2004, 03:19 PM
Don't cross post please.

See http://www.codeguru.com/forum/showthread.php?s=&threadid=298832

pgnanaprakash
June 17th, 2004, 01:42 AM
Hi Marc,

Actually i like to post this thread in VC++ programming category only.... while posting the thread i forget to notice in which category i am posting. sorry for the repetive posting...

Regards,
Prakash