all groups > dotnet interop > october 2006 >
You're in the

dotnet interop

group:

Anchoring and resizing in C#


Anchoring and resizing in C# dolphinearth NO[at]SPAM gmail.com
10/30/2006 12:00:24 AM
dotnet interop:
Hi all. I hope someone can help with this funny problem. I have two
group boxes next to each other, one left and one right of the form. Now
I need to let the form maximise to the whole screen. Fine, I set the
group boxes' anchoring to 'left' and 'right', but when I run the app,
and maximising the form, the two group boxes overlap and this I don't
want, the two group boxes must neatly center in the middle, and then
grow without overlapping each other. I did set the auto grow to grow
and shrink, and I still have the problem of the one group box
overlapping the other one. I am using VS 2005 .Net and would really
appreciate for someone to help me, please.

Thank you.
Re: Anchoring and resizing in C# Mattias Sjögren
10/30/2006 11:54:23 PM
Your question isn't interop related as far as I can tell. Try
reposting to one of the microsoft.public.dotnet.framework.windowsforms
groups.


Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
AddThis Social Bookmark Button