Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
670
Using "ultraChart1->InvalidateLayers();" allows my program to continue instantly...before it has updated the graph
posted

Major problem here

We have point clouds of over 1/4 million points and it takes ultrachart over 10 seconds to update the chart sadly (custom fillscenegraph stuff)

The problem is that InvalidateLayers(); returns IMEDIATLY and i have no way to know when you have finished

This behaviour causes users to believe the chart is up to date because my cursor says so
And they merrily try to do stuff they cant yet.

mainCursor(1): // my routine to show busy
UltraChart1->InvalidateLayers();
mainCursor(0); // my routine to show not busy

Is there any overrides or dot net tricks to stop after InvalidateLayers() that you can help me with
Short of doing Application::DoEvents :¬(

Many thanks