×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    10

    confirmation dialog doesn't appear

    Hello,

    I would like write a method which brings the application to the background but before will display confirm dialog query.
    I don't know exactly where is the problem. When the application goes to the background I don't see any confirmation dialog. What should I do to solve this problem.



    Thanks,
    JM


    void
    CDrawIndicatorAppUi::bringToBackground()
    {

    // I tried to put confirm dialog here
    RWsSession& wsSession = CEikonEnv::Static()->WsSession();

    TApaTask task(wsSession);

    TInt id = CEikonEnv::Static()->RootWin().Identifier();

    task.SetWgId(id);

    if(wsSession.GetFocusWindowGroup() == id)
    {
    task.SendToBackground();
    }
    // and tried here

    }

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,144

    Re: confirmation dialog doesn't appear

    did you remember to use Global-notes. non-global ones are only shown if the application is currently in foreground.

    yucca

Similar Threads

  1. How to display confirmation dialog?
    By alqurri in forum Symbian User Interface
    Replies: 3
    Last Post: 2011-06-19, 07:45
  2. How to disable confirmation dialog when making connection??
    By kensiu_fp in forum Mobile Java General
    Replies: 1
    Last Post: 2005-09-15, 21:09
  3. Confirmation Dialog Panic
    By dingdan in forum Symbian User Interface
    Replies: 0
    Last Post: 2005-02-24, 23:00
  4. Confirmation Dialog and OK/Cancel dialog for 7650
    By edmundkkchan in forum Symbian User Interface
    Replies: 1
    Last Post: 2002-09-05, 14:47
  5. Confirmation Dialog and OK/Cancel dialog for 7650
    By edmundkkchan in forum Symbian
    Replies: 0
    Last Post: 2002-09-05, 02:59

Posting Permissions

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