Archived:Triggering the "messages received" dialog from your own MTM

From Nokia Developer 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.
21 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.