Hi to all ,
There is any option to do that ??
Best Regards,
Dvir.
Hi to all ,
There is any option to do that ??
Best Regards,
Dvir.
i am not saying it is the same code but if you can get the wgid then you can DoIt.
So you think that is possible ? did you try to hide other(not your own) application?
Now, I had the app.WgId() but I don't know why it's not workingCode:const TUid KPhoneAppUid = { 0x2010305B }; TApaTaskList tlist(iEikonEnv->WsSession()); TApaTask app(tlist.FindApp(KPhoneAppUid));
can you help me with the please ?
maybe:
but this is also not working... ;(Code:TInt wgId = app.WgId(); RWsSession session = iEikonEnv->WsSession(); CApaWindowGroupName* wgName = CApaWindowGroupName::NewLC(session, wgId); wgName->SetHidden(ETrue); wgName->SetWindowGroupName(iEikonEnv->RootWin()); CleanupStack::PopAndDestroy(); // wgName
Thanks,
Dvir.
make sure you have SwEvent Capability
Do check that you actually got the capability for your executable (i.e. nothing went wrong when compiling it), you could do this for example with Y-Tasks:rocesses plugin.
You may also want to check it in the emulator, where capabilities do not matter that much. And consider trying other variants of SetWindowGroupName/L, iEikonEnv obviously refers to your own application, assigning its name to an other application might not make much sense (to be honest I do not fully understand the exact role of this line even in the original code).
Symbianyucca thanks you but I already check my capability and this is defentlly not the problem..
wizard_hu_ I am trying to understand this code .. look this article by nokia wiki
(its appointed to S60 1st Edition and S60 2nd Edition my Platform s60 3rd FP1)
The problem that also to my application it's not working ...Code:TInt wgId = app.WgId(); RWsSession session = iEikonEnv->WsSession(); CApaWindowGroupName* wgName = CApaWindowGroupName::NewLC(session, wgId); wgName->SetHidden(ETrue); wgName->SetWindowGroupName(iEikonEnv->RootWin()); CleanupStack::PopAndDestroy(); // wgName
Wizard_hu_ and Symbianyucca can you check that code please ??
Best Regards,
Dvir.
Last edited by BDvirus; 2009-02-03 at 22:17.