Maximize window on second monitor

Maximize window on second monitor

Postby Marc Vanzegbroeck » Wed Dec 26, 2012 2: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
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: Maximize window on second monitor

Postby StefanHaupt » Thu Dec 27, 2012 9: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
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Re: Maximize window on second monitor

Postby Marc Vanzegbroeck » 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
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: Maximize window on second monitor

Postby Marc Vanzegbroeck » 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
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: Maximize window on second monitor

Postby Marc Vanzegbroeck » 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
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

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