some questions about layout

  • Thread starter Thread starter Carsten Marx
  • Start date Start date
C

Carsten Marx

hello,
today i've some questions about layout in the compact framwork.
i'm developing a visual seeking system with the CF and pocket pc 2003
sdk with screenresolution 480x640.
by the way i'm developing with Visual Studio .NET and a Fujitsu Siemens
Pocket Loox 720 and i'm NOT using the Designer!!
now my questions:

1. how can i get the height of the MainMenu of my application?
2 why is refresh() and update() on a panel not working an i have to use
Invalitdate() ?
3. how can I use the X in the right upper corner to Close the
Application proper?
4. In my application i have to load many times a large amount of data.
so there is often nothing new on the sreen and the user gets no feedback
whats going on. can i add for this time a new panel on the sreen with
some animation in a easy way (without threads..) ?


thanks for any help

Cartsen
 
Daniel said:
1. SystemInformation.MenuHeight
2. Post a reproducible sample. FYI, Refresh calls Invalidate & Update
3. Form.MinimizeBox = False
4. Use the busy cursor to inform you user to wait (Cursor.Current = ) or use
the BackgroundWorker (uses threads but is *very* easy to use):
http://www.danielmoth.com/Blog/2004/12/backgroundworker-for-cf-10.html

Cheers
Daniel


thanks a lot
1. jep is working...
2. jep is working now fine...
3. my application is running in full screen mode and i only want if the
user clicks on the X that the application is not in the background (
normal behaviour in windows mobile 2003) either the application is
closed (Application.Exit())
4. In Windows Mobile 2003 running on a pocket PC you don't have a
Cursor... :-) But i will try this BackgroundWorker...

thanks for the moment

Carsten
 
Just to clarify:
3. Form.MinimizeBox = False
changes the X to OK which will close your app (if this is the main form)

4. Try it: Cursor.Current = Cursors.WaitCursor

Good luck

Cheers
Daniel
 
thanks a lot...

Carsten

Daniel said:
Just to clarify:
3. Form.MinimizeBox = False
changes the X to OK which will close your app (if this is the main form)

4. Try it: Cursor.Current = Cursors.WaitCursor

Good luck

Cheers
Daniel
 
Back
Top