Dual Monitors

Dual Monitors

Postby Colin Haig » 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
Colin Haig
 
Posts: 310
Joined: Mon Oct 10, 2005 5:10 am

Re: Dual Monitors

Postby driessen » Fri Jul 04, 2014 7: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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Dual Monitors

Postby Colin Haig » Tue Jul 08, 2014 12:06 pm

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

Cheers

Colin
Colin Haig
 
Posts: 310
Joined: Mon Oct 10, 2005 5:10 am

Re: Dual Monitors

Postby driessen » Tue Jul 08, 2014 8: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: Select all  Expand view
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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 73 guests