View Full Version : Multi Display Question
hiddenhole
01-30-2008, 10:35 PM
Is there a way to make an app run at full screen on a particular display on a multi display system... sorry for bad english
holtgrewe
01-31-2008, 08:22 AM
There are several ways of handling this.
Let's say your normal resolution is 1024X768 on each monitor, and the second monitor is an extension of the first.
on Preload:
myX=1025; myY=1;
MyHnd=Application.GetWndHandle();
Window.SetPos(MyHnd, myX, myY); -- this would align it to the second monitor
or...
Another way would be to place Window.GetPos() on a (timer event) or on (Page On Close) event to obtain the current window position and write it to a text file, or the external file method of choice.
This will keep track of where the window was when last closed/used.
You can then substitute these saved coordinates in the PreLoad action above.
I'm sure there are other techniques as well.
Full screen is definately possible; however the Application must be resizable.
using Window.SetSize(). You should be able to play around with that to get it working for you.
hth
holtgrewe
01-31-2008, 08:45 AM
...just an additional thought.
For Full Screen use Windows.Maximize(); but I believe this must be on the ON Show event, not the On Preload.
good luck.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.