Windows Forms: Control.Scale(SizeF) does not work?
- From: WernerG <WernerG@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 17 Aug 2008 03:58:00 -0700
Hello there.
For some reason the Function Control.Scale
(http://msdn.microsoft.com/en-us/library/ms158413.aspx) does not work. I have
absolutely no idea how to approach this kind of problem. Could it be that I
am doing something wrong or might there be a bug in .NET Cf 3.5?
To give more details. I am developing the application for a Windows CE 6
platform that has .NET CF 3.5 on it. Currently I use the emulator that comes
with Platform builder 6 but the same behaviour is seen on the device itself.
The only time I can get the scaling to work properly is if I run the
executable manually on my Development machine (WinXP).
I debugged the program and Control.Size does not change after I do a
Control.Scale on it. No child controls are scaled either.
As far as I can see this is a bug in the framework. Please tell me I am wrong.
W
.
- Follow-Ups:
- Re: Windows Forms: Control.Scale(SizeF) does not work?
- From: Christopher Fairbairn [MVP]
- Re: Windows Forms: Control.Scale(SizeF) does not work?
- Prev by Date: The opposite of pixel doubling? From VGA to QVGA?
- Next by Date: Re: Problem installing Windows Mobile 6 SDKs
- Previous by thread: The opposite of pixel doubling? From VGA to QVGA?
- Next by thread: Re: Windows Forms: Control.Scale(SizeF) does not work?
- Index(es):
Relevant Pages
|