×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jan 2009
    Posts
    47

    Arrow CEikRichTextEditor

    hello,

    2 questions on CEikRichTextEditor.

    1) I try to display lines into it. It is successful but not work really well.
    I do this :

    I suppress the background with "iRichTextEditor->SetSuppressBackgroundDrawing(ETrue);" and every time I press a key, I do a refresh with "iRichTextEditor->DrawDeferred();"

    I think there is a better way to do this, because mine is not very fluid (it is on the emulator but not on the device).

    2) I tried to display in navipane the number of characters but I failed. I can display anything in navipane, but when the editor is focused it diseaper to display [abc].
    Is an easy way exist to do it ?

    Thanks.

  2. #2
    Registered User
    Join Date
    Jan 2009
    Posts
    47

    Arrow Re: CEikRichTextEditor

    for the seconde, I think I have found the solution in the wiki
    http://wiki.forum.nokia.com/index.ph..._the_navi_pane

  3. #3
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: CEikRichTextEditor

    Any reason to call DrawDeferred() on each keypress event??

  4. #4
    Registered User
    Join Date
    Jan 2009
    Posts
    47

    Re: CEikRichTextEditor

    Quote Originally Posted by savaj View Post
    Any reason to call DrawDeferred() on each keypress event??
    Yes, or else the screen don't refresh. It's written in the doc :
    * Note that when this is set, the background is not drawn with skin
    * nor cleared, so the background MUST be drawn by the parent control
    * every time the editor changes.
    I tried "iRichTextEditor->DrawDeferred();" and "DrawDeferred();" but the result is the same.

Similar Threads

  1. CEikRichTextEditor control border
    By Paulius in forum Symbian User Interface
    Replies: 1
    Last Post: 2009-05-07, 09:56
  2. Anti-aliased fonts and CEikRichTextEditor?
    By teemukurppa in forum Symbian
    Replies: 4
    Last Post: 2008-09-24, 19:27
  3. CEikRichTextEditor with a lot of data
    By hans_marke in forum Symbian
    Replies: 4
    Last Post: 2008-07-10, 06:21
  4. CEikRichTextEditor ScrollBar S60 3rd
    By Altexia in forum Symbian User Interface
    Replies: 0
    Last Post: 2008-01-02, 15:32
  5. CEikRichTextEditor last line is shown only partially
    By janimr in forum Symbian User Interface
    Replies: 2
    Last Post: 2007-02-20, 12:07

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×