By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,534 Members | 950 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,534 IT Pros & Developers. It's quick & easy.

directing output to selected monitor in a multi-monitor desktop

P: n/a
Is there a way to send output from a .NET app to a selected monitor screen
in a 3-monitor client desktop?
Currently, my app sends output to 3 windows then I have to move/drag each of
them to the proper monitor connected to the desktop.

Thanks

Bill
Nov 15 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
You may want to check out the System.Windows.Forms.Screen class, I'm
not sure if it has the "send to monitor 3" functionality, but it's a
place to start. Also, most (maybe all?) multimonitor setups list the
resolution as the sum of all monitors. (i.e. for three side by side
monitors running at 1280x1024 the system resolution would be 3840x1024)
In that example you could set the left property of the form to 1280 and
the form would show on the second monitor, or set it to 2560 to put it
on the third monitor.

Thats all I can think of at the moment...

Thanks,

Seth Rowe
Bill Nguyen wrote:
Is there a way to send output from a .NET app to a selected monitor screen
in a 3-monitor client desktop?
Currently, my app sends output to 3 windows then I have to move/drag each of
them to the proper monitor connected to the desktop.

Thanks

Bill
Nov 15 '06 #2

P: n/a
Seth;
Thanks for the tip.
I think we can get some where.
here's the results on my own PC (2 monitors)

Device Name: \\.\DISPLAY1
Bounds: {X=1152,Y=0,Width=1152,Height=864}
Primary Screen: False

Device Name: \\.\DISPLAY2
Bounds: {X=0,Y=0,Width=1152,Height=864}
Primary Screen: True

Display2 has X=0 Y=0 Width=1152
Display1 has X=1152 Y=0 Width=1152

If I have another monitor (same size), Dispaly3 should have X=2304 Y=0
Width=1152

Using this example, can you please help show me how to send the outputs #1,
#2, #3 to the respective display# ?

The codes I used to display a new winform :

Dim frmScreen As New frmMultiScreens

With frmScreen

..Controls.Add(mPanel)

..WindowState = FormWindowState.Maximized

..Show()

'.ShowDialog()

End With
Thanks a million

Bill

"rowe_newsgroups" <ro********@yahoo.comwrote in message
news:11*********************@m73g2000cwd.googlegro ups.com...
You may want to check out the System.Windows.Forms.Screen class, I'm
not sure if it has the "send to monitor 3" functionality, but it's a
place to start. Also, most (maybe all?) multimonitor setups list the
resolution as the sum of all monitors. (i.e. for three side by side
monitors running at 1280x1024 the system resolution would be 3840x1024)
In that example you could set the left property of the form to 1280 and
the form would show on the second monitor, or set it to 2560 to put it
on the third monitor.

Thats all I can think of at the moment...

Thanks,

Seth Rowe
Bill Nguyen wrote:
>Is there a way to send output from a .NET app to a selected monitor
screen
in a 3-monitor client desktop?
Currently, my app sends output to 3 windows then I have to move/drag each
of
them to the proper monitor connected to the desktop.

Thanks

Bill

Nov 15 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.