Window size when using multiple monitors. Form centre center scren.
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
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.ScreenDim myWorkArea As System.Drawing.RectangleDim myControl As ControlDim button1 As System.Windows.Forms.ButtonmyControl =
Me.Button1myWorkArea = 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