Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mschart flicker

Status
Not open for further replies.

lance

Programmer
Nov 26, 1999
3
US
I am updating an MSChart a point at a time rather than passing it a complete array. The flicker is annoying. I suspect it is an unavoidable byproduct of repainting the screen for each point but thought I'd ask anyway. Has anyone had any success dealing with this?<br>
Thanks.
 
Make the visible property to false until you are finished updating the chart
 
DSJ1967<br>
Thanks for your reply. Unfortunately, this application is a 'real-time' display so I really want to see each point as it occurs. I suspect this simply isn't the tool for this application. <br>
<br>
-Frank
 
Use the API call LockWindowUpdate. Pass it the handle of the control before you update it, when you've finished execute LockWindowUpdate 0, to paint the control.
 
You'll never completely get rid of the flicker because Microsoft designed it so each painted frame requires a complete wipe of the chart. This differs from high-end charting and graphing software in that they only clean up the actual lines they draw - not the entire polygon area.<br><br>In short... use another tool.
 
i have the same problem. i could not understand how &quot;Use the API call LockWindowUpdate&quot; ? Can you help me.
[sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top