Multi Screen Application

P

Phil Jones

I'm wanting to write something that sends different UI to different screens
(ie. a multi-screen application). I think the [Forms.Screen] class may be
the thing to use here, but I'm not sure.

I can see from the docs how you get listing of device information, but how
do you go about directing visuals at a particular device.

Any help, or pointers in the right direction, for how to do this
multi-screen stuff would be really appreciated.
Thanks...
 
J

Joe White

Your app doesn't need to support this explicitly -- you can just display
multiple windows, and the user can drag each form onto whichever monitor
they want.

If you need to start individual forms on individual screens, then first find
the screen you're interested in (by iterating through the Screen.AllScreens
array, and identifying your favorite form according to whatever criteria you
require), and then read that screen's WorkingArea property and make sure
your form fits within that rectangle.
 
P

Phil Jones

Hey thanks Joe. That's put me on the right track. Much appreciated....
---
Phil


Joe White said:
Your app doesn't need to support this explicitly -- you can just display
multiple windows, and the user can drag each form onto whichever monitor
they want.

If you need to start individual forms on individual screens, then first find
the screen you're interested in (by iterating through the Screen.AllScreens
array, and identifying your favorite form according to whatever criteria you
require), and then read that screen's WorkingArea property and make sure
your form fits within that rectangle.


Phil Jones said:
I'm wanting to write something that sends different UI to different screens
(ie. a multi-screen application). I think the [Forms.Screen] class may be
the thing to use here, but I'm not sure.

I can see from the docs how you get listing of device information, but how
do you go about directing visuals at a particular device.

Any help, or pointers in the right direction, for how to do this
multi-screen stuff would be really appreciated.
Thanks...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top