I have WM_ACTIVATEAPP to determine when the game is minimized/restored, and WM_DESTROY.
I added a section for WM_PAINT just to shut Windows up so it wouldn't keep sending them. I just used a BeginPaint()/EndPaint() pair, but is there a more efficient way? (I don't care about WM_PAINT, I just don't want to keep getting it sent).
I also added a case for WM_SYSKEYDOWN/UP and WM_SYSCHAR because I was having big trouble when trying to use the ALT button in my game. Evidently Windows stops my program because it thinks it should activate the program's menu, even though I don't have a Window's menu (stupid Win). I was hoping DirectInput would stop that stuff, but evidently it doesn't.
The only other thing I thought of is to maybe catch the WM_CHAR event just so Windows won't have to go and process it.
That's what I have. Is there anything else i should have. Are there other msgs that I should catch just so windows won't have to process them?
It looks like you're new here. If you want to get involved, click one of these buttons!