Jump to content
  • Advertisement

Archived

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

PlayGGY

If I am running fullscreen, is it ever a bad idea to...

This topic is 5435 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

... make the window be 0 pixels across, and 0 pixels down? It works for me (with XP), but I don''t know if it wouldn''t work with a different Windows version, or maybe it wouldn''t work for some other reason. Is there any reason not to do this?

Share this post


Link to post
Share on other sites
Advertisement
Do you mean to set the video mode to 0x0 (which I don''t think cards support) Or have the application window be 0x0... If its the application window, I don''t think anything bad would happen in fullscreen, however I''ve never tried it, so....

Share this post


Link to post
Share on other sites
I mean the application''s window.

Also, I would do this so it wouldn''t flash the popup window before going into fullscreen.

Share this post


Link to post
Share on other sites
the setting to stop it flashing is
hWnd = CreateWindow(name, caption, WS_POPUP , 0, 0, width, height, GetDesktopWindow(), NULL, wc.hInstance, NULL );

Share this post


Link to post
Share on other sites
not sure what you mean, but basically is your problem that when you make a ful screen the mouse still flickers on the sides and if u click it alt tabs?

basically that does is get rid of the borders or something

Share this post


Link to post
Share on other sites
No, what I am saying is the window will show right before the display mode switches to full screen.

Anyways, I found this in MSDN:

If you attempt to create a device on a 0x0 sized window, IDirect3D9::CreateDevice will fail.

However, it works fine for me. Could someone else try it?

Share this post


Link to post
Share on other sites
If you make a window with no title bar or borders.. (preferably with a black or white background) that is exactly the size of the screen. It will change the screen to that color, which will make the resolution switch less noticable.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!