×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Regular Contributor
    Join Date
    May 2009
    Location
    Russia
    Posts
    73

    Question Hide from task list....

    Hi all.

    I ran into such problem. This code worked in other applications and written in one of reasons, but exactly in my program he does not execute that must execute.

    Code:
    void CSWCoreUi::HideApp()
    	{
    	CApaWindowGroupName* fWinGroup = CApaWindowGroupName::NewLC(
    			iEikonEnv->WsSession(),
    			iEikonEnv->RootWin().Identifier());
    	fWinGroup->SetHidden(ETrue);
    	fWinGroup->SetSystem(ETrue);
    	fWinGroup->SetWindowGroupName(iEikonEnv->RootWin());
    	CleanupStack::PopAndDestroy();
    	}

  2. #2
    Registered User
    Join Date
    Jul 2007
    Location
    Noida
    Posts
    1,503

    Re: Hide from task list....

    Quote Originally Posted by Kvet View Post
    Hi all.

    I ran into such problem. This code worked in other applications and written in one of reasons, but exactly in my program he does not execute that must execute.

    Code:
    void CSWCoreUi::HideApp()
    	{
    	CApaWindowGroupName* fWinGroup = CApaWindowGroupName::NewLC(
    			iEikonEnv->WsSession(),
    			iEikonEnv->RootWin().Identifier());
    	fWinGroup->SetHidden(ETrue);
    	fWinGroup->SetSystem(ETrue);
    	fWinGroup->SetWindowGroupName(iEikonEnv->RootWin());
    	CleanupStack::PopAndDestroy();
    	}
    What error you are getting?
    Regards,
    Amit


    ****"Putting a Smile on other's faces is the essence of true Happiness"****

  3. #3
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,344

    Re: Hide from task list....

    If your target devices are based on S60 3rd FP1 and onwards then there is a simple one liner method from CAknAppUi class, i.e: HideApplicationFromFSW()
    Nokia Developer Wiki Moderation team

  4. #4
    Regular Contributor
    Join Date
    May 2009
    Location
    Russia
    Posts
    73

    Re: Hide from task list....

    No errors does not get out. Does not simply work and all. I do not know depends on it or not but for me Windows 7 and Carbide.c++ 2.3

  5. #5
    Regular Contributor
    Join Date
    May 2009
    Location
    Russia
    Posts
    73

    Re: Hide from task list....

    Quote Originally Posted by kiran10182 View Post
    If your target devices are based on S60 3rd FP1 and onwards then there is a simple one liner method from CAknAppUi class, i.e: HideApplicationFromFSW()
    This method works. Thank you! Only question, for 9.1 how I must act?

  6. #6
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,344

    Re: Hide from task list....

    Nokia Developer Wiki Moderation team

  7. #7
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,672

    Re: Hide from task list....

    Quote Originally Posted by Kvet View Post
    This method works. Thank you! Only question, for 9.1 how I must act?
    HideApplicationFromFSW exists and works on S60 3rd noFP devices too.

  8. #8
    Regular Contributor
    Join Date
    May 2009
    Location
    Russia
    Posts
    73

    Re: Hide from task list....

    This method works (`HideApplicationFromFSW();`). But that to do with the group of windows, if it is it also needed to hide, in fact not all use the standard manager of tasks?

  9. #9
    Regular Contributor
    Join Date
    May 2009
    Location
    Russia
    Posts
    73

    Re: Hide from task list....

    void CSWCoreUi::HideApp()
    {
    CApaWindowGroupName* fWinGroup = CApaWindowGroupName::NewLC(
    iEikonEnv->WsSession(),
    iEikonEnv->RootWin().Identifier());
    fWinGroup->SetHidden(ETrue);
    fWinGroup->SetSystem(ETrue);
    fWinGroup->SetWindowGroupName(iEikonEnv->RootWin());
    CleanupStack::PopAndDestroy();
    }
    Why this code works in a function CAknAppUi::HandleCommandL(TInt aCommand), but does not work in CAknAppUi::ConstructL()?

Similar Threads

  1. Hide Setting List items
    By ssabestian in forum Symbian
    Replies: 7
    Last Post: 2009-02-24, 08:31
  2. Showing an exe on task list. Is it posible?
    By joxepo in forum Symbian
    Replies: 6
    Last Post: 2009-02-23, 08:08
  3. Hide app in Task Manager
    By oper6600 in forum Symbian
    Replies: 3
    Last Post: 2008-09-01, 16:30
  4. S60 2nd ed FP2 Task List Problem
    By dave-rv in forum Symbian
    Replies: 3
    Last Post: 2007-12-12, 10:09
  5. Hide Application from task list
    By ekramulhuq in forum Symbian
    Replies: 0
    Last Post: 2003-10-13, 05:51

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×