FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Dual Monitors
Posts: 310
Joined: Mon Oct 10, 2005 05:10 AM
Dual Monitors
Posted: Fri Jul 04, 2014 12:58 AM

Hi All

When I move the app to the second monitor and open an MDI window no problem but if I open a module that just uses a dialog - the dialog
opens on the other screen. (main screen)

I recompiled one my old xharbour and fwh11.05 apps and the problem did not occur - recently have upgraded to FWH14.4 and Harbour 3.2

Cheers

Colin

Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Re: Dual Monitors
Posted: Fri Jul 04, 2014 07:37 PM

I experienced the same problem and I found out how to solve it.
But I'm at the festival Rock Werchter in Belgium right now but I'll send you my answer next Monday.

Please remind me in case I would forget.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 310
Joined: Mon Oct 10, 2005 05:10 AM
Re: Dual Monitors
Posted: Tue Jul 08, 2014 12:06 PM

Hi Michel
Hope the festival was good - just a reminder about the dual monitor issue.

Cheers

Colin

Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Re: Dual Monitors
Posted: Tue Jul 08, 2014 08:45 PM
Sorry, I forgot to answer.

I indeed experienced the same problem.

I define oWnd with a button bar. Windows oWnd is created on both screens. If I open a dialog box, the box is place at the top of the second monitor. Normally, it is placed in the middle of the first monitor.

So I changed the width of my Windows :
Code (fw): Select all Collapse
DEFINE WINDOW oWnd FROM 0,0 TO cHeight,cWidth
If I take care that the width of oWnd is not bigger than the width of my monitor, the dialog boxes, defined later, are beautifully centered.

I hope that my explanation can help you.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Continue the discussion