Archived

This topic is now archived and is closed to further replies.

ztn

Help! Exclusive or Non

Recommended Posts

ztn    133
(The game I’m working on uses many windows, lots of text, with occasional small animations. Not FPS or side scrolling) So I got started using only the Win32 GDI, but I’d like a little more speed, concrete resolution control, and alpha blending. Now DirectX seems to be the answer. So I have been reading many tutorials here on GameDev.net and elsewhere on directx. BUT…. Can I open a Full Screen Exclusive Mode DirectX Application, and have it pop lots of child windows? What about text? Or is the better solution to use a non-exclusive DirectX Window that fills up the whole screen? I wouldn’t have exclusive control of the resolution, but I know I’ll have Win32 child windows and quick high quality text routines. Right? Which is the better way? Why does nobody talk about this in tutorials? Is it just too much of a pain to implement child windows in exclusive DX apps? Or does nobody write games like this…

Share this post


Link to post
Share on other sites
krez    443
i don''t believe you can have child windows with fullscreen mode (just a less-rude reiteration of the above comment)...
you can make your own windowed GUI in fullscreen mode, though. it''ll take some effort, depending on how much you want it to do... but the tutorials are out there.
or, just stick with windowed mode.

--- krez (krezisback@aol.com)

Share this post


Link to post
Share on other sites
CrazedGenius    156
You could create a window that occupies the entire screen after you change the resolution if need be. You could also have the window restore the original application when it loses focus/exits.

Whatcha doin''? (that may help formulate a better solution...)

Share this post


Link to post
Share on other sites
ztn    133
Full screen child window? Where do you read that?

Perhaps i should repeat:

"Can I open a Full Screen Exclusive Mode DirectX Application, and have it pop child windows of its own?"

Just think of the usual full screen directX game; now what happens when you pop child windows? Will they work? can you draw them using seperate surfaces? Is that the best way?

If i don''t need DirectX page flipping, then can''t I use a non-exclusive DirectX application sized to the extent of the screen. It seems like this would provide:

1) DirectX fast bliting for isomorphics & tiles,
2) Great easy good looking text with DrawText,
3) GDI child windows which can respond to mouse action

Right? Will this work? Has anybody tried this?

zTn

Share this post


Link to post
Share on other sites