Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Docked/Anchored UserControl in Vista -- child controls don't size properly
 

Docked/Anchored UserControl in Vista -- child controls don't size properly

This is a cross-post, sorry. I really need some guidence here:

When developing with VS 2005 on Vista with the VS 2005 patch for Vista:

I have a UserControl that I have designed with child controls (text boxes, buttons, etc...). More then one user control actually has this problem. When I am laying out the controls in the designer, everything looks fine. But when I drop an instance of the user control onto a TabContol, the child controls in my user control are too big and end up being clipped by the right-hand-side of the user control.

Now for the wierd part, when I install the application (un-changed) on an XP or Server 2003 machine, the child controls look fine!

What could be going on?

Thanks.

Kenneth.

KHadden  Tuesday, August 07, 2007 12:40 AM
The problem is DPI most likely, not Vista.

See: http://connect.microsoft.com/VisualStudio/feedback/Workaround.aspx?FeedbackID=259155

It's a pain, and there's no fabulous workaround.

Clayton
Clayton Grassick  Friday, August 10, 2007 3:09 PM
The problem is DPI most likely, not Vista.

See: http://connect.microsoft.com/VisualStudio/feedback/Workaround.aspx?FeedbackID=259155

It's a pain, and there's no fabulous workaround.

Clayton
Clayton Grassick  Friday, August 10, 2007 3:09 PM

You can use google to search for other answers

Custom Search

More Threads

• Behavior, OnMouseUp event and the Point
• Creating custom controls
• RC1 - Forms very fragile
• bindingcontrol datagridview in tabcontrol column visible strange problem :((
• how to create a push pin as in VS toolbox
• String Collection Editor
• Delay when opening form with designer / changing Misc->Language
• How to obtain a member field declaration WithEvents using CodeDom
• Get property value at design-time
• Winforms control appearance is different in the Visual Studio form designer than at run time. .Net3.5 C#