Environment: QT for S60, QT dialog app.
I want my Qt app hide and show as needed. When I try to hide it by calling MyDialog.hide(), it has 2 problems:
1, It is available in the task list popup window. In the task list window, my app is shown, and the main window is the homescreen, but the task title is my app's title. Looks strange.
2, After I call MyDialog.hide(), the softkey still keeps not changed. When I press softkey ‘Exit’, the app will exit. Seems it still ‘visible’. The main window is hidden, but softkey menu is visible.
Then I try CApaWindowGroupName::SetHidden() as below. It does not work as expected. It still has above 2 problems.
CCoeEnv *env = CCoeEnv::Static();
TInt wgId = env->RootWin().Identifier();
RWsSession session = env->WsSession();
CApaWindowGroupName *wgName = CApaWindowGroupName::NewLC(session, wgId);
CleanupStack::PopAndDestroy(); // wgName
Can anybody please help me to hide it completely? Thanks very much for any reply.