Emulator Pocket PC 2002 - this.ClientSize and StatusBar.Location cannot be changed?

M

Mark Johnson

After testing my program on a Compact-Maschine, I tried it on the Emulator
and ran into problems.

I tried to place the ProgressBar on top of the StatusBar and.
the Statusbar over the Bottom of the Form (here MainForm) :

sbStatusBar.Location = new
System.Drawing.Point(0,MainForm.ClientSize.Height-sbStatusBar.Size.Height);
progessBarMainFrame = new System.Windows.Forms.ProgressBar();
progessBarMainFrame.Size = new System.Drawing.Size(240,10);
progessBarMainFrame.Location = new
System.Drawing.Point(0,sbStatusBar.Location.Y-progessBarMainFrame.Size.Heigh
t);

This worked well on the Desktop and on the Pocket PC 2002 mashine, but not
on the Emulator PPC2002.
It looks as if this.ClientSize and sbStatusBar.Location cannot be changed.
No matter what is set it retains the values : this.ClientSize(240,294) and
sbStatusBar.Location(0,272)

this.ClientSize should be 240,268 (as the
TopLevelControl..ClientRectangle.Height returns in the DateTimePicker
Control - which does not work in a Form).

- very strange ...

Is this a known problem in the Pocket PC 2002 Emulator.
Does it happen elseware (Pocket PC 2003 Emulator etc) ?

There does not seem to be a PlatformID for an Emulator.

Mark Johnson, Berlin Germany
(e-mail address removed)
 
M

Mark Johnson

Ahh, a very good idea - it was not (must have been rebooted someware along
the line).

After reinstalling netcf.core.ppc3.x86.cab the problem was gone.

Thank you.

Mark Johnson, Berlin Germany
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top