Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 19:54, 15 December 2007.

CNotepadApi

From Forum Nokia Wiki

If you want to give your users the ability to enter bigger amount of text then you can use CNotepadApi.

NB! The editor of this class has Find menu item under Options. If you don't have ReadDeviceData and WriteDeviceData capabilities set, then your app will panic with KERN-EXEC 0 when selecting this menu item.

TInt aReturnStatus=0;
HBufC *buf=NULL;
TRAPD(err, 
      buf=CNotepadApi::ExecTextEditorL(
            aReturnStatus,
            iText,
            _L("Edit Text"),
            _L("Delete txt?")));
if(aReturnStatus==3007 || aReturnStatus==KErrNone)
    iText.Copy(*buf);
delete buf;
Related Discussions
Thread Thread Starter Forum Replies Last Post
Which control can be used like the compose sms view in 7650 billchen001 Symbian User Interface 1 2002-11-07 03:31
InsertFromTextFileL problem gs_cmans General Symbian C++ 8 2006-03-31 20:39
PIM? Where can I found Notes? orb1024 General Symbian C++ 1 2006-10-14 20:32
Notebookapi tampstaffs General Symbian C++ 4 2008-02-13 14:16
Access to 'Notes' applebyp Python 1 2007-07-06 08:48
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX