Open Dialog always on second monitor

Open Dialog always on second monitor

Postby ali » Fri Jun 10, 2016 5:21 pm

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
ali
 
Posts: 23
Joined: Wed May 07, 2008 2:50 pm
Location: Austria

Re: Open Dialog always on second monitor

Postby Otto » Sat Jun 11, 2016 4:22 pm

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
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Re: Open Dialog always on second monitor

Postby cnavarro » Sat Jun 11, 2016 8:19 pm

Also, try with multiple monitors

Code: Select all  Expand view

? 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
User avatar
cnavarro
 
Posts: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 99 guests