Nick
Nick

Reputation: 10499

Two contemporary Forms in Windows Mobile

Is possible to display two forms using the Compact Framework (Windows Mobile 6.1), where the first form (behind the second - GREEN) occupies the entire space (as default), while the second form (above the first - BLUE) has a distance greater than zero from the top of the screen (a Top property that does not work when I tried it)?

The following image explains what I mean:

enter image description here

How can I do?

Upvotes: 0

Views: 96

Answers (2)

josef
josef

Reputation: 5959

Although I also thought that sizeable windows forms are not supported, I found a simple way: http://www.hjgode.de/wp/2012/11/07/mobile-development-move-your-form/

So let us know, if this works for you.

And the rest keep on learning doing the impossible as I do all the days.

Upvotes: 0

Thorsten Dittmar
Thorsten Dittmar

Reputation: 56727

Windows Mobile is not capable of displaying forms that do not take the entire screen. If you need that, you must find a device that runs Windows CE. The only thing in Windows Mobile that's not "full screen" is a MessageBox.

As Compact Framework applications can run both on Windows Mobile and Windows CE, there is a Top property for forms, which has no effect in Windows Mobile (like the other properties that usually adjust location or size).

Upvotes: 1

Related Questions