void EndWaitingDlg(const TInt& aDlgId) { CAknGlobalNote * note = CAknGlobalNote::NewL(); CleanupStack::PushL( note ); note->CancelNoteL( aDlgId ); CleanupStack::PopAndDestroy(); }
/* ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- */ void CMgAppUi::ShowNoteL(const TDesC& aMessage) { CAknGlobalNote* dialog = CAknGlobalNote::NewLC(); TInt NoteId = dialog->ShowNoteL(EAknGlobalInformationNote,aMessage); User::After(2000000); dialog->CancelNoteL(NoteId); CleanupStack::PopAndDestroy(dialog); }
void ShowNoteL(const TDesC& aNote) { __LOGSTR("ShowNote"); __LOGSTR1("ShowGlobalNote: %S",&aNote); CAknGlobalNote* note = CAknGlobalNote::NewLC(); TInt NoteId; NoteId = note->ShowNoteL(EAknGlobalInformationNote,aNote); User::After(5000000); note->CancelNoteL(NoteId); __CPOPD(note); }