Hi, Does anybody know how to get a handle on the window group of an applictaion seperate to your own. I thought that the following code would dod so but instead it seems to create a new window group with the same name etc as the one im trying to get a handle on. I can see this from my application switcher list. Every time I invoke this code I see a new application of the same name with no icon appended to the list. I am running this on a Nokia N70 and am trying to get a handle on the phone application.
RWsSession & wsSession = CCoeEnv::Static()->WsSession(); TApaTaskList currentApps(wsSession); TApaTask appToFind = currentApps.FindApp(phoneAppUID); if (appToFind.Exists()) {  TInt wgID=appToFind.WgId();  RWindowGroup wg(wsSession);  if(wg.Construct(wgID)==KErrNone)  {   //.......   //do stuff wit the window group  } }
Forum posts: 30
Brian
Forum posts: 52
Just see the documentation of windowgroup. I think you are creating a new window group.