Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Dec 2008

    [moved] Button problem

    hi all,
    I am facing a problem about dialog.
    I have a resource as follows:

    RESOURCE DIALOG r_dialog_warning
    flags = EAknWarningNoteFlags | EEikDialogFlagWait;
    items =
    type = EAknCtNote;
    id = EGeneralNote;
    control = AVKON_NOTE
    layout = EGeneralLayout;
    animation = R_QGN_NOTE_WARNING_ANIM;

    I have executed that by the following code:

    CAknNoteDialog* dialog = new (ELeave) CAknNoteDialog(CAknNoteDialog::EConfirmationTone,
    dialog->SetTextL( aMessage );

    This gives me a dialog which have only one button called "OK".
    Now the problem is if i press any key of the keypad then the dialog disappears. But i want that without the ok softkey no key will not work.
    Is there any solution about it please give and i will be very grateful to him/her.

  2. #2
    Super Contributor
    Join Date
    Oct 2007
    જુનાગઢ - India

    Re: Button problem

    The right section to post your query is here.

    Anyway this is the right behaviour of CAknNoteDialog. You can either use CAknMessageQueryDialog or create a class inherited from the base class and override the offerkeyeventL function.

  3. #3
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Tampere, Finland

    Re: Button problem

    Quote Originally Posted by savaj View Post
    The right section to post your query is here.
    Don't bother about that, just have a look at this: http://discussion.forum.nokia.com/fo...&starteronly=1
    Shahid pays me to move his posts to the right location :)
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

Similar Threads

  1. [moved] installing ActivePerl problem
    By sid_diu in forum Symbian Tools & SDKs
    Replies: 4
    Last Post: 2009-07-03, 14:57
  2. Modules required :)
    By neil.young in forum Symbian
    Replies: 20
    Last Post: 2009-06-07, 11:35
  3. [moved] On Device Debug Problem
    By gailu in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 6
    Last Post: 2009-02-13, 16:28
  4. Command button problem with Nokia9300 Communicator
    By karlina_nisa in forum Mobile Java General
    Replies: 3
    Last Post: 2008-12-04, 23:37
  5. problem in display an image button on canvas(Background image)
    By mramin05 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 3
    Last Post: 2008-11-12, 04: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