WINDOW ON A SECOND MONITOR ?
Moderator: Rathinagiri
WINDOW ON A SECOND MONITOR ?
Hola
Habrá alguna forma de programar para poder abrir una ventana directamente en un segundo monitor por medio de nuestro programa ?
quizá... (o algo )
-------------------------------------------------------------------------------------------------------------------------------------
Hello
There will be some form of program to open a window on a second monitor directly through our program?
maybe ... (or something)
DEFINE WINDOW FormDetalle AT 0,0 WIDTH 1024 HEIGHT 560 TITLE " | NUEVA NOTA |" CHILD NOSIZE NOMAXIMIZE MONITOR 2
Habrá alguna forma de programar para poder abrir una ventana directamente en un segundo monitor por medio de nuestro programa ?
quizá... (o algo )
-------------------------------------------------------------------------------------------------------------------------------------
Hello
There will be some form of program to open a window on a second monitor directly through our program?
maybe ... (or something)
DEFINE WINDOW FormDetalle AT 0,0 WIDTH 1024 HEIGHT 560 TITLE " | NUEVA NOTA |" CHILD NOSIZE NOMAXIMIZE MONITOR 2
Andrés González López
Desde Guadalajara, Jalisco. México.
Desde Guadalajara, Jalisco. México.
Re: WINDOW ON A SECOND MONITOR ?
IMHO, the only way is to set coordinates of opened window
Re: WINDOW ON A SECOND MONITOR ?
Gracias Mol, haré algunas pruebas...
------------------------------------------------
Thanks Mol, I do some tests ...
------------------------------------------------
Thanks Mol, I do some tests ...
Andrés González López
Desde Guadalajara, Jalisco. México.
Desde Guadalajara, Jalisco. México.
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: WINDOW ON A SECOND MONITOR ?
Recerda que el debe tener la propiedad de pantalla extendida el segundo monitor.
si tu monitor esta en una resolucion de 1024x768
crea un form cajero ubicado en 0,0 y otro form usuario en 1025,0.
sino la otra solucion seria utilizar 2 aplicaciones comunicadas con mensajes entre si...
si tu monitor esta en una resolucion de 1024x768
crea un form cajero ubicado en 0,0 y otro form usuario en 1025,0.
sino la otra solucion seria utilizar 2 aplicaciones comunicadas con mensajes entre si...
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Re: WINDOW ON A SECOND MONITOR ?
It's hard to determine where second monitor "starts".
I'm working on two monitors: first 19" has resolution 1280x1024 and second 22" with resolution 1920x1080.
Both of them work in the same time...
I'm working on two monitors: first 19" has resolution 1280x1024 and second 22" with resolution 1920x1080.
Both of them work in the same time...
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: WINDOW ON A SECOND MONITOR ?
1° monitormol wrote:It's hard to determine where second monitor "starts".
I'm working on two monitors: first 19" has resolution 1280x1024 and second 22" with resolution 1920x1080.
Both of them work in the same time...
GetDesktopHeight() --> nDesktopHeight
GetDesktopWidth() --> nDesktopWidth
position 0 , 0 to nDesktopWidth, nDesktopHeight
2°monitor
GetDesktopHeight() --> nDesktopHeight2
GetDesktopWidth() --> nDesktopWidth2
position 0, nDesktopHeight + 1 .or. 2 to nDesktopWidth2, nDesktopHeight2 - 1 .or. 2
hope not wrong---
NOTE : forgiveness. Monitor extension widths are added ...
what remains are the high fixed monitors and these do not add up.
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Re: WINDOW ON A SECOND MONITOR ?
Daniel,danielmaximiliano wrote: 1° monitor
GetDesktopHeight() --> nDesktopHeight
GetDesktopWidth() --> nDesktopWidth
position 0 , 0 to nDesktopWidth, nDesktopHeight
2°monitor
GetDesktopHeight() --> nDesktopHeight2
GetDesktopWidth() --> nDesktopWidth2
position 0, nDesktopHeight + 1 .or. 2 to nDesktopWidth2, nDesktopHeight2 - 1 .or. 2
hope not wrong---
IMHO this is not the right way because GetDesktopHeight() and GetDesktopWidth() will return with maximum screen size.
Considering fix (not changeable) size in Monitor 1 by Mark said:
I believed should it be like this:mol wrote:I'm working on two monitors: first 19" has resolution 1280x1024
1st Monitor:
nHeight1 := 1280
nWidth1 := 1024
2nd Monitor:
nHeight2 := ( GetDesktopHeight() - nHeight1 )
nWidth2 := ( GetDesktopWidth() - nWidth1 )
My suggestion: nHeight1 and nWidth1, could it be variable receiving this parameters from line command or thru saved in INI file.
B.rgds
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: WINDOW ON A SECOND MONITOR ?
Pablo : te falto un poco de lectura..Pablo César wrote:Daniel,danielmaximiliano wrote: 1° monitor
GetDesktopHeight() --> nDesktopHeight
GetDesktopWidth() --> nDesktopWidth
position 0 , 0 to nDesktopWidth, nDesktopHeight
2°monitor
GetDesktopHeight() --> nDesktopHeight2
GetDesktopWidth() --> nDesktopWidth2
position 0, nDesktopHeight + 1 .or. 2 to nDesktopWidth2, nDesktopHeight2 - 1 .or. 2
hope not wrong---
IMHO this is not the right way because GetDesktopHeight() and GetDesktopWidth() will return with maximum screen size.
Considering fix (not changeable) size in Monitor 1 by Mark said:I believed should it be like this:mol wrote:I'm working on two monitors: first 19" has resolution 1280x1024
1st Monitor:
nHeight1 := 1280
nWidth1 := 1024
2nd Monitor:
nHeight2 := ( GetDesktopHeight() - nHeight1 )
nWidth2 := ( GetDesktopWidth() - nWidth1 )
My suggestion: nHeight1 and nWidth1, could it be variable receiving this parameters from line command or thru saved in INI file.
B.rgds
aclare que desde 0,0 to GetDesktopHeight(), GetDesktopWidth() para el monitor 1...
despues desde 0. GetDesktopHeight() + 1 to ( GetDesktopHeight() - nHeight1 ), nWidth2
la fila 0 en los 2 monitores es igual, cambia o puede cambiar el alto de los 2 monitores seria un error RESTAR ya que el monitor 1 pude ser mas chico que el monitor 2...
nWidth2 := ( GetDesktopWidth() - nWidth1 )
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Re: WINDOW ON A SECOND MONITOR ?
Tenés razón Daniel, disculpame.
No tengo experiencia con 2 monitores.
No tengo experiencia con 2 monitores.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: WINDOW ON A SECOND MONITOR ?
no tiene importancia, voy a hacer el jueves con la Notebook y el LED TV por medio de HDMI.Pablo César wrote:Tenés razón Daniel, disculpame.
No tengo experiencia con 2 monitores.
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO