how do i get the width and height of the entire screen in XNA?
+9
A:
This seems to be it (just googled for "xna screen width height" myself):
GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Height GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Width
Adrian Grigore
2009-09-04 06:46:10
Yeah, Google is a real mystery to most people.
Bombe
2009-09-04 07:00:31
@Bombe: What does it hurt to have the information here? IIRC, Jeff and Joel want to turn this place into a one-stop information house about all things programming.
jasonh
2009-09-04 18:10:15
@jansonh: A noble cause, but we should start with more interesting topics before turning to replicating readily available manuals on the web.
Adrian Grigore
2009-09-04 22:28:19
in fact, I googled (now) and found this. thanks. :]
Yossarian
2010-01-15 19:02:42
yep.. first result on google. good job i landed on stack and not msdn.
Kyle
2010-09-22 19:09:01
I revoke my comment. It's incredible to see how often important SO has become in google's search results.
Adrian Grigore
2010-09-25 14:01:42
Welcome to stack overflow! Posting answers that amount to "look on google" are generally frowned upon as this site is intended to be a sort of Wikipedia of programming issues. I hope you'll continue to be a good emember of this community :)
RCIX
2010-10-21 01:31:44