guest2013-1
guest
- Joined
- Aug 22, 2003
- Messages
- 19,800
- Reaction score
- 13
I'm busy messing around with XNA after trying (and failing) to do some decent graphics work on a Winform for a ScreenSaver my company wants (using a screen saver package I got inflates the size of the SCR by as much as 300% for some reason, and I need to keep this bitch as tiny as possible)
So far so "good" I guess. The problem comes in when a user has 2 screens. Now we don't run more than 1 graphics card, and most of the docs/forums out there goes on and on about the graphics card adapter and different cards and how to do whatever.
All I want is to duplicate what I do on the main screen, on a 2nd (or 3rd) screen if they have it plugged in.
In c# all i do is this:
piss easy. now where is the XNA equivalent??
So far so "good" I guess. The problem comes in when a user has 2 screens. Now we don't run more than 1 graphics card, and most of the docs/forums out there goes on and on about the graphics card adapter and different cards and how to do whatever.
All I want is to duplicate what I do on the main screen, on a 2nd (or 3rd) screen if they have it plugged in.
In c# all i do is this:
Code:
Screen[] screens = Screen.AllScreens;
foreach (Screen screen in screens)
windowRect = Rectangle.Union(windowRect, screen.Bounds);
this.Bounds = windowRect;