Good morning,
I compile fivewin programmes in both 32bit and 64bit versions with MinGW 8.5 - fivewin release 22.12 and use 2 monitors
I have noticed that in the 32bit version if I open a dialogue from the second monitor this is opened in the second monitor
whereas if I open a dialogue from the second monitor in the 64bit version the dialogue is always opened in the first monitor
has anyone noticed this difference yet and knows how to correct the problem
thanks to all
dialog opening difference in the monitor between 32/64 bit
- Antonio Linares
- Site Admin
- Posts: 42259
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: dialog opening difference in the monitor between 32/64 bit
Dear Santo,
We are checking it
many thanks for the feedback
We are checking it
many thanks for the feedback
- nageswaragunupudi
- Posts: 10691
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: dialog opening difference in the monitor between 32/64 bit
This program is working the same way with both 32-bit and 64-bit
The main window is opened in the primary monitor.
Clicking "Open" button opens a dialog in the Seconds monitor.
Here this is working with both 32/64 bits.
Can you please provide us with a small sample code that works with 32bit but fails with 64bit?
Code: Select all | Expand
#include "fivewin.ch"
function Main()
local oWnd, oBar, oDlg
DEFINE WINDOW oWnd
DEFINE BUTTONBAR oBar SIZE 80,32 OF oWnd
DEFINE BUTTON OF oBar PROMPT "Open" CENTER ;
WHEN oDlg == nil ;
ACTION ( oDlg := TestDlg() )
DEFINE BUTTON OF oBar PROMPT "Close" CENTER ;
WHEN oDlg != nil ;
ACTION ( oDlg:End(), oDlg := nil )
ACTIVATE WINDOW oWnd
return nil
static function TestDlg()
local oDlg
DEFINE DIALOG oDlg SIZE 400,300 PIXEL TRUEPIXEL ;
COLOR CLR_BLACK,CLR_HGREEN
ACTIVATE DIALOG oDlg NOMODAL ON INIT ;
FW_GetMonitor( 2 ):Center( oDlg )
return oDlg
Clicking "Open" button opens a dialog in the Seconds monitor.
Here this is working with both 32/64 bits.
Can you please provide us with a small sample code that works with 32bit but fails with 64bit?
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: dialog opening difference in the monitor between 32/64 bit
Rao ,
Test in 32-bit always
The main window is opened in the primary monitor.
Clicking "Open" button opens a dialog in Always in the primary monitor.
Maurizio
Test in 32-bit always
The main window is opened in the primary monitor.
Clicking "Open" button opens a dialog in Always in the primary monitor.
Maurizio
- nageswaragunupudi
- Posts: 10691
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: dialog opening difference in the monitor between 32/64 bit
If you connected two monitors and configured in extended mode, then the dialog will open in the second monitor.Clicking "Open" button opens a dialog in Always in the primary monitor.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India