Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Revision as of 06:37, 26 July 2012 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Showing Notes

From Wiki
Jump to: navigation, search
Article Metadata
Created: symbianyucca (30 Mar 2007)
Last edited: hamishwillee (26 Jul 2012)

There are several different notes defined for Symbian, global notes can be used to show notes in tight loops and other places where normal CAknNotes will fail to show (because they require draw events to be shown correctly, and tight loops will not allow events to get through). Also if you want to show wait or progress notes.

For other than previously mentioned scenarios you should use normal CAknNotes as shown in following samples:

void ShowConfirmationNote(const TDesC& aMessage)
CAknConfirmationNote* dialog = new(ELeave)CAknConfirmationNote();
void ShowInformationNote(const TDesC& aMessage)
CAknInformationNote* dialog = new(ELeave)CAknInformationNote();
void ShowWarningNote(const TDesC& aMessage)
CAknWarningNote* dialog = new(ELeave)CAknWarningNote();
void ShowErrorNote(const TDesC& aMessage)
CAknErrorNote* dialog = new(ELeave)CAknErrorNote();

The name of the note identifies the usage scenario where the note is intended to be used in and the main differences between them are that each note type has different tone and icon.

Required header: aknnotewrappers.h Required libraries: avkon.lib eikcdlg.lib eikctl.lib

This page was last modified on 26 July 2012, at 06:37.
30 page views in the last 30 days.