Windows Forms: Control.Scale(SizeF) does not work?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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
.



Relevant Pages

  • Re: "pbclean" Error. Anyone else seeing this?
    ... They said there were no free issues with Platform Builder ... distributions. ... Mark ... > Clearly it's a bug so you wouldn't end up paying for the issue. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Problem in Platform.reg
    ... > I don't know if it's a bug of CE 5.0 or I inadvertently changed somewhere ... > the Platform Builder. ... > (CE 5.0 evaluation version) ... Prev by Date: ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Is Gnome working in teesting?
    ... >> If it's filed in the bug tracking system, at the moment you just have to ... [Please don't send me private copies of list mail. ... (which is also my main development machine) ...
    (Debian-User)
  • Re: xPC Target Explorer not working on 2011a
    ... "Joe" wrote in message... ... Is there any sense of when this bug will be fixed? ... Strange enough, just like 2011A it works on my development machine. ...
    (comp.soft-sys.matlab)