×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Mar 2004
    Posts
    14

    No icons in query dialog

    How to cancel the "question mark icon" in confirmation query dialog? Or chage to one that is similar to the information note ?

    Thanks in advance!!

  2. #2
    Regular Contributor
    Join Date
    Aug 2003
    Posts
    64
    Hi,

    U can use something like this in the resouerce file.
    By specifying

    RESOURCE DIALOG r_my_animation_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_YES_NO;
    items =
    {
    DLG_LINE
    {
    type = EAknCtQuery;
    id = EGeneralQuery;
    control = AVKON_CONFIRMATION_QUERY
    {
    layout = EConfirmationQueryLayout;
    animation = R_QGN_NOTE_QUERY_ANIM;// U can specify the kind of animation u want here..
    //Suppose u want a low battery animation u can write
    //animation = R_QGN_NOTE_BATT_LOW_ANIM;

    };
    }
    };
    }

    In ur code.........,

    CAknQueryDialog* dlg;
    dlg = CAknQueryDialog::NewL(CAknQueryDialog::ENoTone );

    TBool answer = dlg->ExecuteLD( R_MY_ANIMATION_QUERY ,aDes );



    Raja

  3. #3
    Registered User
    Join Date
    Mar 2004
    Posts
    14
    Thanks Raja!

    Where can I find out more animation? I can't search from the help anything about R_QGN_NOTE_BATT_LOW_ANIM or R_QGN_NOTE_QUERY_ANIM. I would like to change the icon.


    Thanks again!!

  4. #4
    Regular Contributor
    Join Date
    Aug 2003
    Posts
    64
    Hi,

    I dont think these ids have been specified in the sdk documentation.
    Take a look at "avkon.rsg" file in the epoc32/include folder.
    There these animation ids have been defined.
    Play around with these definitions and u should get one u are looking for.
    May be R_QGN_NOTE_INFO_ANIM is what u r looking for.

    Raja

  5. #5
    Registered User
    Join Date
    Mar 2004
    Posts
    14
    I've found that! Thank you very very very much! ^.^

Posting Permissions

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