×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Jun 2003
    Posts
    318

    How to show note(any note) with dynamic text with no Timeout?????

    Hi,

    I'm currently using this:

    CAknInformationNote* informationNote = new (ELeave) CAknInformationNote();
    informationNote->ExecuteLD(formCheckBuffer);

    formCheckBuffer is a TBuf<400> which i dynamically Append() to, depending on situations, and my informationNote will then display text that changes depending on the situation. (dynamic).

    Problem is, the timeout for this information note is pretty quick.

    I tried doing something like this so that there would be no timeout:

    CAknInformationNote* informationNote = new (ELeave) CAknInformationNote(CAknNoteDialog::ENoTimeout ,CAknNoteDialog::EErrorTone);

    But i got an error
    CAknInformationNote::CAknInformationNote' : no overloaded function takes 2 parameters
    --------------------------------------------------------------------------------
    I then looked at the AKNEXNOTE example. They have something that looks like this:

    CAknNoteDialog* dlg = new( ELeave ) CAknNoteDialog( aTone, aTimeout );
    dlg->ExecuteLD( aResourceId );

    Here, i can implement CAknNoteDialog::ENoTimeout, it works, the note doesn't disappear until i click. But its ExecuteLD doesn't accept TBufs, it only accepts TInts, (resources from the rss file).

    QUESTION:

    How can i create a note (any kind of note) which does not have a time out, but i can use to display dynamic text? I don't want to display predefined text from the .LOC file...

    urgent! Pls help! thanks.

    - aDvo -

  2. #2
    Registered User
    Join Date
    Jan 2009
    Posts
    14

    Re: How to show note(any note) with dynamic text with no Timeout?????

    not sure about dymanic thing but here it what i did for a zero timeout

    http://wiki.forum.nokia.com/index.ph...rmation_dialog

  3. #3
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: How to show note(any note) with dynamic text with no Timeout?????

    As the post is well over 5 years old, there is usually no point on bumbing them back up, who ever wrote the post propably already got the answer bby some other way

  4. #4
    Registered User
    Join Date
    Jan 2009
    Posts
    14

    Re: How to show note(any note) with dynamic text with no Timeout?????

    Quote Originally Posted by symbianyucca View Post
    As the post is well over 5 years old, there is usually no point on bumbing them back up, who ever wrote the post propably already got the answer bby some other way
    haha didn`t notice but it may help other like me who is new :)

Posting Permissions

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