Dual monitors and fullpage
-
I have a web page that uses javascript to open two new web pages. The two new pages should be opend in full screen on dual monitors. But if I move one of them to the right monior and set Fullscreen = true, it opens over the other one. How can I get the two web pages to open in different monitors. I want to view one web page in each monitor Please help.... Spaz
-
I have a web page that uses javascript to open two new web pages. The two new pages should be opend in full screen on dual monitors. But if I move one of them to the right monior and set Fullscreen = true, it opens over the other one. How can I get the two web pages to open in different monitors. I want to view one web page in each monitor Please help.... Spaz
You can use the
System.Windows.Forms.Screen
,AllScreens
property to get an array of monitors, each with it's ownWorkingArea
(hint, hint!), to set the Location and Size of each of your forms to different monitors. This will enumerate the screens and show you their working areas:Private Sub Form_Load(blah, blah) Handles Me.Load
For Each Scr As Screen In System.Windows.Forms.Screen.AllScreens
Debug.WriteLine(String.Format("Screen {0} has a working area of {1}", Scr.DeviceName, Scr.WorkingArea))
Next
End SubRageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
You can use the
System.Windows.Forms.Screen
,AllScreens
property to get an array of monitors, each with it's ownWorkingArea
(hint, hint!), to set the Location and Size of each of your forms to different monitors. This will enumerate the screens and show you their working areas:Private Sub Form_Load(blah, blah) Handles Me.Load
For Each Scr As Screen In System.Windows.Forms.Screen.AllScreens
Debug.WriteLine(String.Format("Screen {0} has a working area of {1}", Scr.DeviceName, Scr.WorkingArea))
Next
End SubRageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
Thanks for the reply Using youre code I get information about the primary screen. Could you please help me with what I should do next to show my two webpages in different monitors. I would like to display them fullscreen. PS The web page in the main screen is fullscreen, but if I set the other webpage to full screen it displays over the firs webpage, how do I get it to display in the secondary monitor? Spaz
-
Thanks for the reply Using youre code I get information about the primary screen. Could you please help me with what I should do next to show my two webpages in different monitors. I would like to display them fullscreen. PS The web page in the main screen is fullscreen, but if I set the other webpage to full screen it displays over the firs webpage, how do I get it to display in the secondary monitor? Spaz
Spaz80 wrote:
Could you please help me with what I should do next to show my two webpages in different monitors. I would like to display them fullscreen.
I don't have a dual screen machine to test any code on. Sorry... RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
Spaz80 wrote:
Could you please help me with what I should do next to show my two webpages in different monitors. I would like to display them fullscreen.
I don't have a dual screen machine to test any code on. Sorry... RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
No prob Could you describe a way to solve my problem? Hint or tips... I am completely lost about what to do. I can place my second webapp where I want on the secondary monitor. But not get it to go fullscreen. Beacuse it overlaps the first webpage.. Thanx Spaz
-
No prob Could you describe a way to solve my problem? Hint or tips... I am completely lost about what to do. I can place my second webapp where I want on the secondary monitor. But not get it to go fullscreen. Beacuse it overlaps the first webpage.. Thanx Spaz
Well, I had to wait until the boss the left town so I could put together a dual monitor system. In the Native (Windows controlled) dual monitro setup, I don't have any problems with maximizing a form, or an IE browser window, and having it take up the correct monitor. If I drag a window to the other monitor and maximize it, it stays on the monitor. Perhaps you'll have to play with your dual monitor configuration? I have no idea 'cause, truth be told, I can't get this setup to fail in the way you're describing! RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome