I'm using Vista andVisual Studio 2008 Professional Edition. I recently noticed that for all my forms with FixedSingle border style, it shows a thin border in the design window, but when I actually run the program it has the same border as a sizeable window. This is a problem because all my FixedSingle forms which are 640x480 actually run as 650x490. Is this a known problem? Is the only solution to change the sizes to 630x470 forfixed borderforms? |
| ScottyDoesKnow Friday, September 25, 2009 3:13 PM |
This thread explains what is going on.
Hans Passant. - Marked As Answer byKira QianMSFT, ModeratorThursday, October 01, 2009 9:26 AM
-
|
| nobugz Friday, September 25, 2009 5:57 PM |
Vista and Win7 always honor the border padding from the display properties, even for tool windows. Coding Light - Illuminated Ideas and Algorithms in SoftwareCoding Light Wiki � LinkedIn � ForumsBrowser- Marked As Answer byScottyDoesKnow Friday, September 25, 2009 5:56 PM
- Unmarked As Answer byScottyDoesKnow Friday, September 25, 2009 8:03 PM
-
|
| David M Morton Friday, September 25, 2009 3:25 PM |
Could you clarify what you mean by display properties? Something set in visual studio or something set in the operating system? And where exactly?
[Edit] Nevermind I found it. I only need the 640x480 constraint on xp so that should still work fine, so it's not a big deal. Thanks for the help. |
| ScottyDoesKnow Friday, September 25, 2009 5:53 PM |
This thread explains what is going on.
Hans Passant. - Marked As Answer byKira QianMSFT, ModeratorThursday, October 01, 2009 9:26 AM
-
|
| nobugz Friday, September 25, 2009 5:57 PM |
Are youusing the Aero theme? The size remains the same on a classic theme. |
| JohnWein Friday, September 25, 2009 6:04 PM |
I am using Aero, Classic works fine for me too. So after reading the thread there's no way to fix it without making it non-xp? |
| ScottyDoesKnow Friday, September 25, 2009 6:51 PM |
You closed the thread. Do you still have questions about this?
Hans Passant. |
| nobugz Friday, September 25, 2009 7:00 PM |
Well I'm assuming I can't fix it, it's not a big deal because I only need the 640x480 for XP. Reading the other thread though the only answer made it not compatable with XP, I was wondering if there was a way of fixing it while still being able to run on XP. |
| ScottyDoesKnow Friday, September 25, 2009 7:33 PM |