Polyline Drawing

Discussion created by Smcneil1 on Jun 16, 2011
Latest reply on Jun 20, 2011 by Smcneil1
I am deveoping a standalone c# application using the MapControl in ArcGIS 9.3.  I am currently drawing polylines on the map, using the call "PartialRefresh(esriViewDrawPhase.esriViewForeground, null, null) to trigger an event causing my drawing code to be invoked.  This all works great however, I'd like to be able to redraw some polylines (that need to be updated/moved) and not others, and using this method all lines must get drawn each time the refresh is performed.  This causes the apperance of "flickering" as the majority of the lines did not change but get redrawn anyway.

Is there a way to just redraw some polylines and not others?  Is it possible to group polylines into different layers and only redraw some layers?  Ideas/suggestions are appreciated!