1

I'm starting a project to make a wall paper rotator for computers with multiple monitors.

1) how do you detect the monitors in windows and the associated resolution

2) how would i set the image per monitor. do I make one image that's crafted together or do I set each one individually and how?

thanks

MusiGenesis
  • 74,184
  • 40
  • 190
  • 334
Crash893
  • 11,428
  • 21
  • 88
  • 123
  • This all depends on the client used to run the app ... Citrix takes your dual (or more) monitors and turns it into one huge one. – Martin Aug 19 '09 at 18:44
  • Can someone please edit the title to correct the spelling. Pretty-please. :) – John Kraft Aug 19 '09 at 18:47
  • oops on the title. @ martin you probably wouldn't change the background on a citrix environment anyway – Crash893 Aug 19 '09 at 19:35

1 Answers1

1
  1. You can get information about all screens using the System.Windows.Forms.Screen class. Use their bounds properties to determine their layout.
  2. Not possible on Windows (XP), you'll have to craft a big background image using the drawing routines in System.Drawing.

This "thread" contains some more info on manipulating wallpapers in windows: why does this code lock my files?

Community
  • 1
  • 1
Cecil Has a Name
  • 4,962
  • 1
  • 29
  • 31