Hello. I have an opengl app that goes into fullscreen on boot. After WM_PAINT is called I animated the menu into place. This works perfect in XP on much less powerful machines, but even on much more powerful vista machines the intro animation looks all choppy when it first boots.
I know why it is doing this too. It's because of the resources taken when windows disables Aero (which is automatic when going fullscreen). I can put in a sleep to wait until it is over and then the animation runs fine, but there is no way of knowing how long a computer will take to disable the styles.
Is there a listener of sorts that I can check for to see if windows is done doing it's style changes and then do my animation?