Open Dialog always on second monitor

Post Reply
ali
Posts: 23
Joined: Wed May 07, 2008 2:50 pm
Location: Austria

Open Dialog always on second monitor

Post by ali »

Hi!

Can sombody tell me how it is possible to start a FW Program alwas on the second monitor.

We have developed a Customer Display Programm. When the program is starting it must be displayed on the Customer Display (second monitor)

Thanks for your help.

Best regards
Aljoscha
User avatar
Otto
Posts: 6400
Joined: Fri Oct 07, 2005 7:07 pm
Has thanked: 9 times
Been thanked: 2 times
Contact:

Re: Open Dialog always on second monitor

Post by Otto »

Hello Aljoscha,
add the width of the first monitor to the coordinates of the window.
Best regards,
Otto


[FensterKassabuch]
Top= 66
Left= 2000
Height= 866
Width= 3300
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
cnavarro
Posts: 6557
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Been thanked: 3 times

Re: Open Dialog always on second monitor

Post by cnavarro »

Also, try with multiple monitors

Code: Select all | Expand


? GetSysMetrics(79), GetSysMetrics(78)
 
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Post Reply