• Advertisement

Archived

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

width of window

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