but i need to display a very long text..using resource file its giving errors...so is this possible like write the text document in a buffer and display ... pls reply...
const TFileName file(KHelpFilePath);//containing your text file path
iRichEdwin->InsertFromTextFileL(file,CPlainText::EOrganiseByParagraph );//attaching file with CEikRichTextEditor....iRichEdwin is object of CEikRichTextEditor
iRichEdwin->SetCursorPosL(1,ETrue);//setting cursor position
///code ends
hope...it would work....
Cheers!! CodePupil
Thanks and Regards CodePupil __________________________ You are I and I am he .. !!
Forum posts: 124
check ur sdk help u'll find cshelp project or u'll have the helpexample in ur sereis60EX check it and follow the steps for making the help file.
Regards,
Mateen maldar
Mateen Maldar
Forum posts: 43
Forum posts: 105
you can use CAknMessageQueryDialog class in order to display your help dialog...
you can make your help file's content as your dialog's...
Keep it up...
CodePupil
Thanks and Regards
CodePupil
__________________________
You are I and I am he .. !!
Forum posts: 43
Forum posts: 105
if you use CAknMessageQueryDialog , you will get Scroll facility automatically...
however you can also use CEikRichTextEditor in which you can set scroll bars(vertical/horizontal).
Cheers!!
CodePupil
Thanks and Regards
CodePupil
__________________________
You are I and I am he .. !!
Forum posts: 43
pls reply...
Forum posts: 105
just write your text in a text file and attach this text file with CEikRichTextEditor...
Is That Clear???
Cheers!!
CodePupil
Thanks and Regards
CodePupil
__________________________
You are I and I am he .. !!
Forum posts: 105
here is code snippet..
///code starts
const TFileName file(KHelpFilePath);//containing your text file path
iRichEdwin->InsertFromTextFileL(file,CPlainText::EOrganiseByParagraph );//attaching file with CEikRichTextEditor....iRichEdwin is object of CEikRichTextEditor
iRichEdwin->SetCursorPosL(1,ETrue);//setting cursor position
///code ends
hope...it would work....
Cheers!!
CodePupil
Thanks and Regards
CodePupil
__________________________
You are I and I am he .. !!