Greetings.
I have an application that uses OpenGL to make browsing in an explorer window more fun. Its essentially built upon a game engine architecture where in my Main Loop, I call my rendering function as well as dispatch messages. It works great as a stand alone application because I write my own Main Loop.
But in order to get it to work as a shell view, I must inherit from the IShellView class. Everything works great, but I do not control my own loop. This Causes a problem because I do not know where to put my Render function call. I tried creating a timer and on its call, doing a render, but it is too slow.
Is there a way that I can "hook" into the main loop of explorer (or whatever instantiates IShellViews) so that i can get smooth rendering?? Or is there a better way of getting smooth rendering that does not involve timers? maybe capturing the WM_PAINT event?