×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    12

    Post How to Add custom buttons to a Global Note

    Hi,

    I want to add my own cba buttons to the global note but it doesn't work..Can any one help me out
    here is the code piece

    CAknGlobalNote* note = CAknGlobalNote::NewLC();
    TRequestStatus zRequestStatus;
    note->SetSoftkeys(R_SOFTKEYS_UPGRADEVERSION);
    note->ShowNoteL(zRequestStatus, EAknGlobalInformationNote, aPromptText);
    User::WaitForRequest(zRequestStatus);
    CleanupStack::PopAndDestroy();
    if (zRequestStatus == EAknSoftkeyYes)
    return 1;

    return 0;

    and R_SOFTKEYS_UPGRADEVERSION is defined in the rss file as follows

    RESOURCE CBA r_softkeys_upgradeversion
    {
    buttons =
    {
    CBA_BUTTON
    {
    id = EAknSoftkeyYes;
    txt = qtn_softkey_upgrade;
    },
    CBA_BUTTON
    {
    id = EAknSoftkeyNo;
    txt = qtn_softkey_cancel;
    }
    };
    }


    please help!!

    Thanks
    Murk

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: How to Add custom buttons to a Global Note

    try not to multi post. refer to your other post. refer to your other post http://discussion.forum.nokia.com/fo...d.php?t=157093

  3. #3
    Nokia Developer Champion
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,348

    Re: How to Add custom buttons to a Global Note

    One thread per query is usually enough. Please avoid multiposting.
    Check this thread - http://discussion.forum.nokia.com/fo...d.php?t=157093

Similar Threads

  1. How to add buttons to form like S40?
    By adaromas in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2007-11-02, 05:50
  2. Global Wait Note dialog
    By mikkyt in forum Symbian User Interface
    Replies: 1
    Last Post: 2003-04-23, 04:30
  3. app view remains dimmed after global note is shown
    By liammurray in forum Symbian User Interface
    Replies: 4
    Last Post: 2003-03-22, 17:22
  4. Stop Global Wait Note...
    By sbleriot in forum Symbian
    Replies: 1
    Last Post: 2003-02-20, 09:48

Posting Permissions

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