Page 1 of 1

Open Dialog always on second monitor

Posted: Fri Jun 10, 2016 5:21 pm
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

Re: Open Dialog always on second monitor

Posted: Sat Jun 11, 2016 4:22 pm
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

Re: Open Dialog always on second monitor

Posted: Sat Jun 11, 2016 8:19 pm
by cnavarro
Also, try with multiple monitors

Code: Select all

? GetSysMetrics(79), GetSysMetrics(78)