Quote Originally Posted by Sly
Ahh. Don't use messages. Handle the TApplication.OnIdle event, set the Done parameter to False and do updates and draws in there. Now you have no speed difference between a VCL app and a Win32 API app that do the same thing.
NO, the time it takes to paint is the same but CPU power is wasted wich reduces it's overall performance because of the high temperature, i used messages with good performance and a low CPU power, this might not be usual for games but if you can't detect movement you could put a timer message and get the same CPU hungry behaviour like the IDLE event.
Though i'm pretty sure you can always detect movement and paint only when necessary this will ensure that you don't use 100% CPU all the time and lower it's temperature. The 100% CPU philosophy is a DOS feature and i don't agree with it