Run program on second monitor

Everything else that doesn't fall into one of the other PB categories.
NuclearFusion
User
User
Posts: 35
Joined: Wed Nov 22, 2006 2:00 pm

Run program on second monitor

Post by NuclearFusion »

Hi,
I found this viewtopic.php?f=19&t=61946 article, but it refers to MacOS, but alas, I am on Windows.
Is there a way to do such a thing in Windows?
TIA.
Arie
NuclearFusion
User
User
Posts: 35
Joined: Wed Nov 22, 2006 2:00 pm

Re: Run program on second monitor

Post by NuclearFusion »

Found the answer.
It is really easy :-)

In order to always show the Windows after Compile/Run, you should set an option in the Windows settings, like so (Mind you, I am translating from Dutch to English):

1. go to the desktop
2. rightclick on an empty space
3. click on "Display settings" (or "Screen settings" maybe)
4. click button "Identify"
5. click on the number of the monitor on which you wish to display the Window after Compile/Run
6. scroll all the way down
7. check the box "Use this monitor as the main monitor" (or something like that)

HTH,
Arie
User avatar
Derren
Enthusiast
Enthusiast
Posts: 313
Joined: Sat Jul 23, 2011 1:13 am
Location: Germany

Re: Run program on second monitor

Post by Derren »

Check out ExamineDesktops()

The top left corner of your main monitor, whatever it may be, is at 0,0. all moitors to the right of it, have an x-value > 0 and all monitors left of it, have an x-value < 0

you can just type in some x and y value in OpenWindow()
NuclearFusion
User
User
Posts: 35
Joined: Wed Nov 22, 2006 2:00 pm

Re: Run program on second monitor

Post by NuclearFusion »

OK, will check out. Thx!
Post Reply