Jump to content
  • Advertisement

Archived

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

eldee

DX resolution issue

This topic is 6195 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

anybody know how to restore the desktop resolution properly on exiting a low-res exlusive dx window? for example, i''m running 1024x768 on my geforce 2.. i open my tiling engine that im working on that''s 640x480.. it runs great.. so i exit.. next thing you know all my windows are minimized (well, not "minimized", but not maximized like they were before the program started.. even though i''m restored at 1024 res). any ideas? -eldee ;another space monkey;

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
ya i was having the same problem.
now I don''t maximize vc++.
I just drag the edges of the vc++ window to the edges of the screen.
then when my app exits vc++ isnt "minimized" in the top corner.

Share this post


Link to post
Share on other sites
I've never heard of that problem before, but I suppose you could call the GetSystemMetrics function to record the height and width before you create your surface.

Nah.... nevermind. I doubt my solution would help. Once you shrink the res, I don't think there's any turning back. I have the same problem, but I just ignore it.

-Forcas


"Elvis is alive. He is Barney the purple dinosaur. He is the pied piper that leads our children into the wages of sin and eternal damnation."





Edited by - Forcas on August 1, 2001 7:51:48 PM

Share this post


Link to post
Share on other sites
Doesn''t happen to me. I usually make my games allow the user to choose the game''s resolution. That way, the user could choose to set the resolution to his current resolution so that that wouldn''t happen. I''ve heard about a lot of games doing this though, including professional ones. Not much you can do.

Share this post


Link to post
Share on other sites
well, that would fix the problem for sure.. but a 32x32 pixel tile would look mighty crappy at 1920x1440 res.. know what i mean?

-eldee
;another space monkey;

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!