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)
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)