Skip to main content

Full Screen/Maximised Mode Windows Mobile

1 reply [Last post]
mobiforms
Offline
Joined: 2006-09-24
Points: 0

Is it possible to code an app to run in full screen or maximised mode in Windows Mobile like other native WM apps?

I am using Window Mobile 5 with phoneME Advanced Personal Profile b79 from http://www.cs.kuleuven.ac.be. Currently my app displays a top system bar then about 25 pixels beneath my app frame. I am not even able to drag my app's frame to lay over the top of the system bar. I understand that earlier versions behaved in a different way.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Davy Preuveneers

On Friday 15 August 2008, phonemeadvanced@mobileandembedded.org wrote:
> Is it possible to code an app to run in full screen or maximised mode in
> Windows Mobile like other native WM apps?
>
> I am using Window Mobile 5 with phoneME Advanced Personal Profile b79 from
> http://www.cs.kuleuven.ac.be. Currently my app displays a top system bar
> then about 25 pixels beneath my app frame. I am not even able to drag my
> app's frame to lay over the top of the system bar. I understand that
> earlier versions behaved in a different way. [Message sent by forum member
> 'mobiforms' (mobiforms)]
>
> http://forums.java.net/jive/thread.jspa?messageID=293551

It is actually 26 pixels. It is the height of the top task bar, but nevermind
that :-).

Let me briefly explain the window positioning behavior of b79. Unless an
application window is full screen, Windows Mobile does not allow you to
manually drag a window on top of the top task bar. However, you could
position your window at 0,0 in the application code so that an AWT frame
would cover the task bar. But as soon as you dragged it, it would always be
positioned below the task bar. On older WinCE platforms, there was another
issue: the task bar would always cover the AWT frame, and there was no way to
drag the AWT frame below the task bar.

That's why in one of the previous builds b79 I always moved windows below the
task bar. In current builds, I only do so if the height of the window permits
(i.e. can be shown completely below the task bar). This means for a full
screen window, you can still put it on top of the task bar, but you will
notice that as soon as you try to drag it, the OS will always put it below
the task bar.

I have put a new build b84 online. Let me know how this version works out for
you.

Davy
[signature.asc]