Sender Ghost Messages: 301 Registered: November 2008
Senior Member
As conclusion, I created following example to demonstrate this problem and solution.
On the left side you can see normal behaviour of Upp application with about 100% CPU load periodically.
On the right side you can see reduced CPU load with using CachedCtrl class template and specified update rate.
The left and right sides of application can be activated with right mouse click and deactivated with left mouse click.
With Array<CachedCtrl<Ctrl> *> this example can be changed to support more types of Ctrls.
The source code of example attached to this message.