×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jan 2011
    Posts
    192

    Question Symbian wait dialog

    Hi,

    I am facing a problem in writing Symbian code in qt.
    i have created a wait dialog using Symbian coding, the dialog appears well, but i want to disable the soft keys of the phone when this dialog appears and enable them when the dialog disappears.

    i have used the below code in order to create the wait dialog.

    Note that I have surfed the web and i didn't find a way to disable the soft keys on the phone ( options and back ). So any help concerning this issue.

    Thanks in advance.
    Code:
    CAknWaitDialog * m_waitDialog;
    m_waitDialog = new CAknWaitDialog(REINTERPRET_CAST(CEikDialog**, &m_waitDialog));
    if (m_waitDialog)
    {
           m_waitDialog->ExecuteLD(R_WAIT_NOTE_SOFTKEY_CANCEL);
    }

  2. #2
    Regular Contributor
    Join Date
    Dec 2010
    Posts
    228

    Re: Symbian wait dialog

    you can create an empty softkeys and replace the existing softkeys with them when executing the dialog

  3. #3
    Nokia Developer Expert
    Join Date
    Feb 2008
    Posts
    183

    Re: Symbian wait dialog

    You could try to use native CEikButtonGroupContainer:imCommand() when dialog launches. If I remember correctly, dimmed commands are not active.
    There are other "interesting" options available in the CEikButtonGroupContainer as well (e.g. MakeCommandVisible()), but I don't know how well, these
    work.

Similar Threads

  1. wait dialog without defining dialog in rss file
    By soni_neeraj in forum Symbian
    Replies: 4
    Last Post: 2010-08-04, 05:15
  2. Wait Dialog..
    By onlyabhi in forum Symbian
    Replies: 5
    Last Post: 2010-01-04, 06:22
  3. wait dialog
    By mayankkodesia in forum Symbian User Interface
    Replies: 2
    Last Post: 2008-11-12, 10:24
  4. Wait dialog
    By djgtram in forum Symbian
    Replies: 6
    Last Post: 2006-01-25, 11:46
  5. Replies: 4
    Last Post: 2005-11-10, 06:13

Posting Permissions

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