On Sunday 30 November 2014 14:26:53 misu kun wrote: > ok looks like GetTickCount() is the cause , i replace it with > timeGettime() plus timeBeginPeriod(1) on tmainfo.oncreate , now the > animation is smooth . > > are there some high precision timer in msegui ? > tsimpletimer or ttimer has microseconds resolution. On Linux the jitter normally is less than a ms, on Windows application.beginhighrestimer() must be called in order to get 1ms jitter. I suggest to use a ttimer with interval = 10000..20000 instead of onidle and to call application.beginhighrestimer() before running the animation and application.endhighrestimer() afterwards. On Linux calling beginhighrestimer()/endhighrestimer() is not necessary. I probably should add an option to ttimer which does it automatically.
Martin ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ mseide-msegui-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

