|
I am new to Windows programming
and have a few questions regarding Windows with DirectX. I'm using Direct
Input to handle mouse and keyboard input, but have hacked around going
through the windows messaging while still doing tests. The outline
of a game loop, from what I gather, is to PeekMessage if one is present,
and handle it, and if not, then go on with your game loop. But what
Messages do I need to keep the default mouse pointer from appearing in a
fullscreen app. I do a SetCursor(NULL) to get rid of it now, but if
I pass it to the DefWindowsProc(), it reappears. I assume I need to
handle a certain message, but do not know which. Any help would be
appreciated. In addition to this, if anyone could point me in the
direction of a list of WM messages I am going to need with a fullscreen app to
make Windows happy when various things like multitasking and such happen I would
appreciate it. I know this list probably consists of quite a few, but any
help is appreciated.
Thanks,
Greg
|