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:Triggering the "messages received" dialog from your own MTM

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}}.

Article Metadata
Platform(s): S60 3rd Edition
S60 3rd Edition (initial release)
Created: User:Technical writer 2 (30 Mar 2007)
Last edited: hamishwillee (14 Jun 2012)


Triggering the "messages received" dialog from your own MTM


This functionality is introduced by the MNcnNotification ECom plug-in published in S60 3rd Edition.
- Include header mncnnotification.h; you need the WriteUserData capability.
- The SDK documentation states also the library NcnNotification.lib but you must not link this to your project as NcnNotification is an ECom plug-in.
- The "New Messages" notification will be triggered for "Unread == ETrue" flagged messages only (see TMsvEntry settings).
- You can select the type of notification from components.
- Remember to use CleanupDeletePushL(); instead of CleanupStack::PushL()  - note also that  the API documentation has an error and is referring to a non-existing CleanupStackDeletePushL() call.

This page was last modified on 14 June 2012, at 07:06.
22 page views in the last 30 days.