You Are Here:

Community: Wiki

 

Talk:How to use the CAknWaitDialog

From Forum Nokia Wiki

The example would be more complete if it defined also the resource structure (R_TEST_WAITNOTE or the resource with id "1"). In this form compiling and running the code results in a guaranteed panic, BAFL or similar. --Mrtj 11:14, 25 August 2008 (EEST)


Actually the resource could look like this:

RESOURCE DIALOG r_test_waitnote
    {
    flags   = EAknWaitNoteFlags;
    buttons = R_AVKON_SOFTKEYS_CANCEL;
    items =
        {
        DLG_LINE
            {
            type    = EAknCtNote;
            id      = EMyWaitNoteId;
            control = AVKON_NOTE
                {
                layout         = EWaitLayout;
                singular_label = "Wait...";
                plural_label   = "";
                animation      = R_QGN_GRAF_WAIT_BAR_ANIM;
                };
            }
        };
    }

You should define EMyWaitNoteId in your hrh. --Mrtj 17:01, 25 August 2008 (EEST)

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia