WS_POPUP, continuation of old problem

This is a discussion on WS_POPUP, continuation of old problem within the Windows Programming forums, part of the Platform Specific Boards category; This is simply to attract new "buyers" (lol), since my old thread was never actually the problem, and has been ...

WS_POPUP, continuation of old problem

This is simply to attract new "buyers" (lol), since my old thread was never actually the problem, and has been answered thouroghly. I was given information when I posted my thoughts on the problem about Visual Studio, and it happens to have something that if you're not a full screen program, alt does what it would in any windows program designed as such, and I guess gives mild access to the Visual Studio tool bar at the top of the screen.
I hope that was coherant enough to understand. At any rate, this is a reposting of my post that is at the end of "problem with GetAsyncKeyState". I hope this isn't seen as spamming or anything. I just REALLY need to know how to get by this oh-so-simple problem, that I haven't found to be answered in search engines, and my book on designing 3D games doesn't even touch on the subject.
(I don't want to seem impatient, but truth is, I'm about there since my entire camera is about where I want it, except this little doozy. I'll keep lookin elsewhere, and check back soon)

Originally Posted by Brad0407

Ha ha ha. You wouldn't be windowed by any chance? I wrote a little program to check whether or not you were crazy. Turns out that when you have a window, pressing alt activates the system menu in the upper left corner of the window. This causes your window to not refresh until you hit alt again and close the system menu. If you define WS_POPUP, you won't have this problem.

YES. Thanks. Having trouble still, being that after defining WS_POPUP

Code:

#define D3D_FULLSCREEN_STYLE (WS_POPUP)

It still does the same problem. I am unsure how to use it, (i'm surprised my guide to d3d didn't tell me ANYTHING about it lol). And another thing, it crashes if I try to switch to fullscreen to true (code below)

p.s. I have* done all this myself at one point, but I ended up modifying the wrong camera, so I continued in his since my first objective is to finish and polish my RTS style camera. Essentially my question is how do I use (is it still called invoking) WS_POPUP to effect, and why does it crash on fullscreen?
(p.p.s.I hope that this isn't too horrible being as it is a mingling of C, C++, and DirectX. He writes code different than I would prefer to, but its fine for testing my camera!)