Sunday, September 23, 2007

Hiding Your Application from task list

If you want to hide the application from the system task list add this method to the document class:
void CApplicationDocument::UpdateTaskNameL(CApaWindowGroupName* aWgName)
{
CAknDocument::UpdateTaskNameL(aWgName);
aWgName->SetHidden(ETrue);
}
or put in this code:
CEikonEnv::Static()->RootWin().SetOrdinalPosition(0, ECoeWinPriorityNeverAtFront);

No comments:

stats counter