How do I prevent MoveWindow from destroying my window?
Who designed this mess anyway?
I have a problem, (no not me, Windows) whenever(almost) I use MoveWindow, it destroys my window! I am using DirectDraw and the problem occurs when I re-size the playing field from full-screen to windowed mode. I change the window's style, then I call MoveWindow, and it calls WM_DESTROY, shutting down my program! I even have tried destroying the window myself and re-creating it, but when I re-size the window to with MoveWindow, it calls WM_DESTROY! This mess is so awful that it is making me want to send a WM_DESTROY to windows! (you can tell me how to do that, if you wish)
Can you show me some of the code where you think the problem is? Are you handling a WM_SIZE message or passing it to Windows?
------------------
Still Learning...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement