FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Maximize window on second monitor
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Maximize window on second monitor
Posted: Wed Dec 26, 2012 02:37 PM

Hi,

How can I maximize my start-window on the second monitor when having a dual-screen?
Now I allways have to make the window smaller, after opening the program, and move it to my second monitor, an maximize it again...

Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Posts: 824
Joined: Thu Oct 13, 2005 07:39 AM
Re: Maximize window on second monitor
Posted: Thu Dec 27, 2012 09:57 AM

Marc,

you can save the position of the main window in an ini file when you close your program and open it at the saved coordinates.

kind regards

Stefan
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: Maximize window on second monitor
Posted: Thu Dec 27, 2012 10:45 AM

Stefan,

I got it working by saving the postion into an INI-file.

Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: Maximize window on second monitor
Posted: Thu Dec 27, 2012 11:08 AM

Hi,

The opening of the main-window MAXIMIZED on the second monitor is working very nice, but now I have stille another problem.
In my program I open all my dialog's with 'ACTIVATE DIALOG oDlg CENTERED'

The problem is that he center them on my first screen. Can't I center them on the monitor where my main screen is maximized?

Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: Maximize window on second monitor
Posted: Thu Dec 27, 2012 12:55 PM
Marc Vanzegbroeck wrote:Hi,

The opening of the main-window MAXIMIZED on the second monitor is working very nice, but now I have stille another problem.
In my program I open all my dialog's with 'ACTIVATE DIALOG oDlg CENTERED'

The problem is that he center them on my first screen. Can't I center them on the monitor where my main screen is maximized?


I solved the problem.
Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite

Continue the discussion