Mindtraveller Messages: 917 Registered: August 2007 Location: Russia, Moscow rgn.
Experienced Contributor
1. By the way, is GUI MT-safe? If it is so, maybe it is a good idea to have some flag (like GUI_MT) to enable/disable GUI-MT features? This will speed things too.
2. Maybe you could make some descendant class of ParentCtrl which keeps cached image and drws it upon refresh. Actual refresh of child Ctrl is to be made only on explicit request (let's call it ParentCtrlCache). I don't know exactly (didn't test it) but this could give additional speedup by reducing actual GUI updates.