Post

 Resources 

Console

Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VBGamer
 VBGamer
 Displaying a Window in Full-Screen Mode

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List Spell Checker
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Insert an File
Check here to include your profile signature.
Check here to subscribe to this topic.
    

T O P I C    R E V I E W
gildfosh Posted - Dec 20 2004 : 5:57:01 PM
How do you go about displaying a window in fullccreen mode in directdraw?
3   L A T E S T    R E P L I E S    (Newest First)
Lachlan87 Posted - Dec 21 2004 : 8:19:56 PM
gildfosh,

If I was correct, I think the answer is that you can't--at least not the way you want to. If you allow another window to be viewed while your program has exclusive control of the device, your program will lose exclusive control of the device. That's why you have to write speacial code to handle device loss when people press alt+tab.

Mind you, I could be wrong, but that's my understanding.

Here are some alteratives:

  • Run your game in windowed mode, but have it maximized so it looks full-screen.
  • Run in full-screen mode, but make your own "window" instead of using a true windows form.
  • Have your game temporarily switch to windowed mode, and then switch back when the window is closed.


I hope that helps you somehow.

If I was wrong, and you just wanted to know how to initialize DirectDraw in fullscreen mode, check out http://directX4VB.vbgamer.com.

-Lachlan
Lachlan87 Posted - Dec 21 2004 : 09:43:59 AM
I believe he wants to display a window over his fullscreen game. IE, so he can have a dialog pop up to change settings, etc.
Threshold Posted - Dec 20 2004 : 10:34:28 PM
The point of fullscreen mode is to NOT have a window, at least a visible one. You have to set up the primary back buffer to use full screen mode and exclusive mode. I believe the flag contains the words "FULLSCREEN". You also have to have at least one back buffer. You must also "connect" the back buffer to the primary buffer. I don't have the code at my fingertips, but that's basically what you have to do.

VBGamer © Go To Top Of Page
This page was generated in 0.05 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.