Posted 22 October 1999 - 11:05 PM
How do I prevent MoveWindow from destroying my window?
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)