Window size when using multiple monitors

I have a Matrox Parahielia 3 monitor video card.

Whenever I open a new window in the IDE it stretches it across all three screens.

Is there a way to make the windows open onto the center screen at a certain size in a certain position for any new window so I don't have to resize every window to work with them?

Thanks

[343 byte] By [TimAnderson] at [2007-12-28]
# 1

Hi,

You could change the StartPosition property of a FORM to CenterScreen,

is that what you are after?

If not you maybe able to use this NAMESPACE to set your current screen.>>

Dim monitor As Windows.Forms.Screen

I tried messing with>>

Dim loc, screen1 As Windows.Forms.Screen

Dim myWorkArea As System.Drawing.Rectangle

Dim myControl As Control

Dim button1 As System.Windows.Forms.Button

myControl = Me.Button1

myWorkArea = loc.GetWorkingArea(myControl)

myControl.Focus()

' Only you can GetWorkingArea but not set it. :-(

Type screen1. in the IDE to see the options....

Regards,

S_DS

Spidermans_DarkSide at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 2

I am having the problem while writing code in the IDE and not when the application is running. I can position windows in the application with no problem. When I open say the locals window it covers the full three screens and I have to resize it down to be able to work with it otherwise it is under all of the other windows I have open.

Tim

TimAnderson at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic IDE...