I was wondering what is the best to get the frame rate. I saw many differnet ways of doing it but the one I know how to do is using the windows timers, like SetTimer(). But I'm not sure if that is a good way or the best way.
EDIT: Also were should my drawing events for d3d go? I have them in the loop were you translate the windows messages but that seems to lag horibly, even freeze at times.