Is it possible to create an applecation that can view, for example the desktop is display on one mondratore, while a full screen applecation is displayed in the other. Both viewing from the same computer.
Is it possible to create an applecation that can view, for example the desktop is display on one mondratore, while a full screen applecation is displayed in the other. Both viewing from the same computer.
Hmm, Say I have two Computer Screens. Both Viewing the desktop.
Then by pressing (for example control key), I control the layout of the Computer Screen On the left, Basicly two diffrent computers that share everything but there screen layout on the same computer, so if I opend an applet using left screen, It would'nt show on the right. And if I open the applet on the right it would'nt show on the left. Although the Two layouts still share the same data.
Its really hard to explain.
I posted before about this, but its dead now. Anyway I was wondering is it possible to create an application that would handle two computer-screens, Basicly the layout of the window. For example say I have two keyboards, two mouses and two Computer-Screens, plugged into the same computer. One would control the layout of the left screen the other, to the right.
There are a couple of classes that deal with primary and secondary displays.
But I've seen any aspect of windows that deals with two keyboards.
Hmm.....could you explain a little more about the ones that handle with secondary and primary display.
~Jeremy.A.W
They a mostly monitoring and identification.
In help and the object browser, take a look at System.Windows.Forms.System.Information and System.Windows.Forms.Screen.
I managed to get the list of screens plugged in by using this code
On Error GoTo err
Dim OnDeviceNo As Integer
Dim Errorr As Boolean = False While (True) If (My.Computer.Screen.AllScreens(OnDeviceNo).DeviceName_.IsNullOrEmpty(False)) Then GoTo err
MonitoresOutput1.Items.Add(My.Computer.Screen.AllScreens(OnDeviceNo).DeviceName)
MonitoresOutput2.Items.Add(My.Computer.Screen.AllScreens(OnDeviceNo).DeviceName)
OnDeviceNo = OnDeviceNo + 1
End While
OnDeviceNo = 0
err:
err2:
On Error GoTo err3ScreenInputKey1.Items.Add(
My.Computer.Keyboard.GetType.Name())OnDeviceNo = OnDeviceNo + 1
OnDeviceNo = 0
err3:
Though I don't know how to do anything to them.
There is not a lot there.
I'm think that it's not what you do to the screens but what your applications do. for example you might try this in a form
Me.left = screenwidth + 300
and
Me.left = screenwidth = 300
Btw, Jeremy I just noticed that code. Erm, I'm quoting and old enginerr I once knew. "Use Goto's like each time you used one, you will loose a finger.
That code, looks like VB^ ... whatever you do, learn to code like that - NOT!
No he doesn't. He's asking about dual monitor support.
ReneeC wrote:
Btw, Jeremy I just noticed that code. Erm, I'm quoting and old enginerr I once knew. "Use Goto's like each time you used one, you will loose a finger.
That code, looks like VB^ ... whatever you do, learn to code like that - NOT!
XD, I know I was doing a quick job on the code. I really should not use On error goto, to detect the end of the loop.
Merge the two threads which have the same topic, so all information about this issue will be in the same location.