PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms Form layout corrupted with DPI set to 120

Reply

Form layout corrupted with DPI set to 120

 
Thread Tools Rate Thread
Old 10-12-2003, 07:42 PM   #1
waldo@tykester.net
Guest
 
Posts: n/a
Default Form layout corrupted with DPI set to 120


I have a Tab control on my form. Inside the tab control,
I have child controls that expand (anchors) to fill the
tab as the screen is resized.

When working in 96 DPI all is fine. When running on 120
DPI, the first tab that is displayed during startup has
wildly set sizes for the child controls (usually way too
big). The other tabs' controls are all OK as your tab to
them. Going back to the first tab doesn't fix it though.

The first tab that is displayed changes depending on
configuration settings. Whatever tab happens to be first
drawn, is the one with the problem. If that same tab is
not the first one drawn, all is fine.

The problem is apparent for Win2K and XP. However,
Win2003 draws fine. So the assumption is that MS fixed
something in that release.

Unfortunately - I don't know what the work around would be.

Help?!

Tyke
  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off