InvalidateRect(NULL, NULL, FALSE);
------------------
http://members.xoom.com/mutex0
------------------
http://members.xoom.com/mutex0
Sorry about the other confusing message. (Note to moderator: You can delete the other message from "Confused", titled "How do you provide Alt-Enter FullScreen")
I decided to re-prase that message with new info. I am providing the ability in my game to switch between Full-Screen flipping and Windowed mode with DirectDraw using the Alt-Enter key combination. The trouble begins when you are in full-screen mode. If the cursor goes over a toolbar button(on the GDI, but not visible), it pops into view. Also, when you press Alt-Enter again, the GDI surface is not re-drawn. How do I tell Windows or DirectDraw to redraw the GDI when I press Alt-Enter?
oh and you're welcome =)
------------------
http://members.xoom.com/mutex0