Ways to update many shapes on screen without so much lag

Started by zachmorris, August 04, 2011, 05:31:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

zachmorris

I'm writing some code to update shape groups to be visible/invisible at various times in order to create a pseudo animation within a visio drawing.

I've tested my code out and it works very well when there are only a few shapes on the screen (less than 10 or so), but the problem comes in when there are many shapes on the screen.  My full drawing contains maybe 100-500 shapes.  The redraw rate becomes extremely slow to the point where it takes up to a minute or so for the screen to update.  I've tried various ways to get around this, but nothing seems to speed up the redraw rate.  Is there anything that can be done to speed up redraw rates after changing a large group of shapes?

Jumpy

Could you show (the intresting parts of) your code here, so we can see what you already have?