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.

Archived:Info Popup Note API in Symbian C++

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Remove from Archive?: This article has been marked for removal from archive, for the following reasons:
As far as I can tell this class, and hence this tip is still relevant in Nokia Belle, for those people using Symbian C++ rather than Qt.

CAknInfoPopupNoteController is a popup message. It is an active object, and uses a timer to show a popup after a specified time interval (the default is 1 second). The popup disappears automatically after a certain time (the default is 10 seconds).

Article Metadata
Tested with
Devices(s): Nokia N95
Platform(s): S60 3rd Edition, MR
S60 3rd Edition (initial release)
Keywords: CAknInfoPopupNoteController
Created: tepaa (28 Apr 2008)
Last edited: hamishwillee (28 Sep 2012)


MMP file

The following capabilities and libraries are required:

LIBRARY avkon.lib

Header file

#include <akninfopopupnotecontroller.h>
// Set the note as the member variable of your application view (for example, CAknView)
CAknInfoPopupNoteController* iNote;

Source file

void CMyView::ShowNoteL()
if (!iNote)
// Create the note once
iNote = CAknInfoPopupNoteController::NewL();
// Hide the note. The last note may be visible when creating the second
// Set the time delay period before the popup is shown (in milliseconds)
// Set the time period of how long the popup is in the view (in milliseconds)
// Note text
// Note position
// Show note
void CMyView::DoDeactivate()
// TODO: Your view deactivate code here
// Remeber to delete the note
delete iNote;


The note is shown.

This page was last modified on 28 September 2012, at 06:11.
41 page views in the last 30 days.