Jump to content
  • Advertisement

Archived

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

RegaRIP

width of window

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

Advertisement
"GetClientRect()" if you want to know the width and
height of the wondow''s client

Kamikaze

Share this post


Link to post
Share on other sites
Can't you also use GetSystemMetrics(SM_CXSCREEN) and GetSystemMetrics(SM_CYSCREEN)?? Or does that encompass the entire desktop? I have no idea

~del

[edited by - Del Snd of Thndr on December 6, 2002 12:46:15 PM]

Share this post


Link to post
Share on other sites
quote:
Original post by Del Snd of Thndr
Can''t you also use GetSystemMetrics(SM_CXSCREEN) and GetSystemMetrics(SM_CYSCREEN)?? Or does that encompass the entire desktop?


Yes, that will give you the dimensions of the whole screen. Beer Hunter was correct.

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!