Hi. It's me again.
I've got a question about doing gui window stuff in full screen. I'm creating a new gui device and letting it have focus in the middle of my game (think of an "intermediate" or "end of level screen"). In windowed mode, it works just fine. However, in full-screen mode, I see my mouse cursor come up and I know that the window has been created (an alt-F4 will close it and return focus to my game), but I can't see it.
I'm using directX (or openGl, it doesn't matter) as the main device. To create my new device, I'm using the software driver (if I don't I get an access violation). I'm basically doing the same thing that's done in the techdemo for the main screen.
What am I doing wrong and is there a better way to do it?
Thanks,
Dopyiii
new gui windows in fullscreen mode
windows like anything in your project need to be created in the correct order.
this could be a more serious bug but I'm guessing the window is being created after the scenemanager and all the other stuff...it's being displayed on a 2d depth behind the 3d scene.
I can't think of a way to fix it without seeing your code.
If you care to send it to me I would be more then happy to try and fix this with you. my email can be found using the MSN button below.
this could be a more serious bug but I'm guessing the window is being created after the scenemanager and all the other stuff...it's being displayed on a 2d depth behind the 3d scene.
I can't think of a way to fix it without seeing your code.
If you care to send it to me I would be more then happy to try and fix this with you. my email can be found using the MSN button below.
Hmm... Well, I am instantiating a class that contains the gui and then running a display function that creates a new device, scene manager, gui environment, etc. and then populates it. I designed it to be a stand-alone thing.
Could it be that I should have added the gui stuff to my "parent" gui environment and then just displayed that way instead? I suppose I could do that, but I'd have to rewrite tons of code.
I can make my code available to download if you want - I thin it's a bit large to post here.
Thanks!
Could it be that I should have added the gui stuff to my "parent" gui environment and then just displayed that way instead? I suppose I could do that, but I'd have to rewrite tons of code.
I can make my code available to download if you want - I thin it's a bit large to post here.
Thanks!
Midnight - it works just fine in windowed mode, but not in fullscreen.
I've posted the relevant source code on my server:
www.coldcrow.com/djackman/wpp/stuff.zip
I think that everything you'd need is in there. If you'd like the whole project to compile and play with, it's here:
www.coldcrow.com/djackman/wpp/morestuff.zip
I'd appreciate the help. As usual, I'm sure it's some dumb little thing that I missed
I've posted the relevant source code on my server:
www.coldcrow.com/djackman/wpp/stuff.zip
I think that everything you'd need is in there. If you'd like the whole project to compile and play with, it's here:
www.coldcrow.com/djackman/wpp/morestuff.zip
I'd appreciate the help. As usual, I'm sure it's some dumb little thing that I missed