Groups | Blog | Home
all groups > dotnet compact framework > april 2007 >

dotnet compact framework : Borderless Popup window


Murthy
4/27/2007 10:04:02 AM
Hi,
I want to show a border less customized popup window on WIndows mobile 5.0
I want this window to close when i tap on my background window.

I am able to show the window and close it but the problem is every time i
show this window, The Start Menu becomes visible on the top. I want my Popup
to show just on top of my Full Screened window.

I do not want to make the start button invisible by making some P/Invoke
calls since if the application crashes for some reason, then the start menu
is entirely invisible.


Is it possible to build such a customized borderless Popup windows.
If so please guide me how i should proceed.

Thanks,
Murthy


Paul G. Tobey [eMVP]
4/27/2007 11:04:45 AM
Have you tried making your main form window "top-most"? If you do that, and
the same for your pop-up, it seems like you should be able to be in front of
everything, including the start menu, until the main window exits
(intentionally or via crash). I don't think that it's too wise to build
your UI around the assumption that your program is going to crash, though!

Paul T.

[quoted text, click to view]

Murthy
4/28/2007 7:20:03 AM
Hi,
I tried making both the main window and my Pop Up "Top Most", but still the
start menu is still getting displayed.

Is there any way i can make sure that only my Pop Up window is displayed a
stand alone window in the middle just like a message box.

Thanks,
Murthy

[quoted text, click to view]
Paul G. Tobey [eMVP]
4/30/2007 8:25:09 AM
"in the middle"? Something is going to be around the edges! You could
hide/disable the Start menu, as previously mentioned, but that's all I can
think of.

Paul T.

[quoted text, click to view]

AddThis Social Bookmark Button