Hi, all!
To get foreground app i use this code:
RWsSession ws;
ws.Connect();
CleanupClosePushL(ws);
TApaTaskList taskList = TApaTaskList(ws);
TApaTask foregroundTask = taskList.FindByPos(0);
How can i get RWindowGroup of this foregroundTask?
I use RWindowGroup &wg = iEikonEnv->RootWin(); to get RWindowGroup of my application. But can't get RWindowGroup of this foregroundTask.

Reply With Quote

