|
|
User login
Feeds |
closing window created through RWindowGroup
|
|||||
| Tue, 2005-08-09 05:57 | |
|
hi all,
i have a small problem while deactivating the window group. In an incoming call, i am able to bring the window to the front of the screen through RWindowGroup. but the window should also be deactivated and should go to background, when the call is hanged up. but i am not able to close the window which i have created. Can any one help me out in how to deactivat that window. and in my code i have used a seprate class derived from CCoeControl which just implements the RWindowGroup to draw the window. and i am using the follwing functions to deactivate it. myfn() { CloseWindow(); iMyWindowGroup.SetOrdinalPosition( 0, ECoeWinPriorityNeverAtFront); iMyWindowGroup.Close(); } can anyone help. thnks in advance. |
|
Forum posts: 7
can'nt any one help ... or is my question not clear ...
thnks
Forum posts: 10
Could you tell me how do you bring your app to the foreground when the incoming call is ringing?
Many thanks
Forum posts: 7
i am calling the follwing code from an appui, on an incoming call :
TApaTask task(iEikonEnv->WsSession());
task.SetWgId(iEikonEnv->RootWin().Identifier());
task.BringToForeground();
and then i am creating my owm RWindowGroup (u can find here in differnt posts how to create a window group) to bring my window to the front.
thnks