Help Creating a Floating Window

Login to reply to this topic.
Wed, 2004-11-10 03:23
Joined: 2004-11-09
Forum posts: 11
I'm trying to create a window that floats on the UIQ's phone screen.  I can create the window, but it disappears when the app goes into the background (not surprising).  

In HandleForegroundEventL, I set the ordinal value of the window:

     iToolbarAppView->ViewWindow().SetOrdinalPosition(0, ECoeWinPriorityAlwaysAtFront+10);

but the app still disappears.  When I set the RootWin, like

   iEikonEnv->RootWin().SetOrdinalPosition(0);

then the window and it's menubar, etc, do indeed remain on top, hiding other apps.

So I'm confused.  How do I set a floating window to always stay on top?

Thanks.

 -- Mike

Wed, 2004-11-10 13:46
Joined: 2003-12-05
Forum posts: 608
Help Creating a Floating Window
Hi Mike,

there is an example of floating controls (windows) on SonyEricsson dev site, under the Dev support > Tips and tricks > Symbian. Maybe the solution is there?
Wed, 2004-11-10 20:41
Joined: 2004-11-09
Forum posts: 11
Help Creating a Floating Window
Very cool.  Many thanks.

I was messing around with the default root window.  I should have created a new window group -- like in the example -- and messed with that.

Works great!  Thanks!

 -- Mike
Mon, 2004-12-20 13:41
Joined: 2004-05-20
Forum posts: 308
Help Creating a Floating Window
How can i set the Ordinal Position of the Window and in which class shall i do it ?

Thanks

Amit

  • Login to reply to this topic.