Original Post
Hi, I am in the process of learning Directx 10 and I have been having trouble going from a windowed app to a fullscreen one. I have read that the DXGI layer is supposed to handle this for you if you use alt-enter. So far I have had no luck. I have tried handling the WM_SIZE message and releasing my buffers and then resizing them but this has not worked either. What will happen is the screen will switch to a fullscreen mode but it will just be black, though I do have a cursor. I have tried disabling the alt-enter hook with MakeWindowAssociation and tried to make the switch manually, and have had a little bit of luck, but I have had trouble getting the transition from fullscreen to windowed to work. So far no Directx 10 books talk about fullscreen and I have done quite a bit of searching on the net, but everything that I have found and tried has not worked. I have started to wade through the source code of dxut to try to get an idea. What I am looking for is a set of steps to follow in order to get to fullscreen and back. If anyone can help it would be appreciated. I can post portions of my code but I am at work right now so I do not have that with me. Thanks