Post Reply

Forums -> Multiple monitors -> Maximize to specific monitor
David King   2008-08-20 08:54
Would anyone know how to set a window so that it maximizes to a specific monitor ?

I am using VBA and Win APIs. I had a look through and tried out various multimonitor APIs.

But Windows seems always to maximize to monitor that contains largest portion of the window.

Sensible enough default behaviour. But is there any way to override this ?

Many thanks,

David King
Christian Studer   2008-08-20 10:43
Handling the WM_GETMINMAXINFO message seems to achieve this, but I don't know if you can do that from VB.

Christian Studer - www.realtimesoft.com
Forums -> Multiple monitors -> Maximize to specific monitor

Post Reply