Home All Groups Group Topic Archive Search About

Monitor resolution independence

Author
2 Mar 2006 4:09 PM
Al Reid
I have an application where a 3rd party viewer is displayed next to a VB2005 app.  I was told that the viewer needs to occupy the
left 2/3 of the screen and the app the right 1/3.   Is there something built in that will allow me to dynamically scale the forms
and all contained controls based on the monitor resolution.  I already can detect the number of monitors and the resolutions.   I
tried Me.Scale(..) and Me.ScaleControl(...) in the form load event, but that didn't work.  Can someone please help me?

--
Al Reid

Author
2 Mar 2006 8:00 PM
Armin Zingler
"Al Reid" <arei***@reidDASHhome.com> schrieb
> I have an application where a 3rd party viewer is displayed next to
> a VB2005 app.  I was told that the viewer needs to occupy the left
> 2/3 of the screen and the app the right 1/3.   Is there something
> built in that will allow me to dynamically scale the forms and all
> contained controls based on the monitor resolution.  I already can
> detect the number of monitors and the resolutions.   I tried
> Me.Scale(..) and Me.ScaleControl(...) in the form load event, but
> that didn't work.  Can someone please help me?


As the problem is not specific to the VB.Net language, you could try the
..Net Framework group:

microsoft.public.dotnet.framework.windowsforms


Armin