×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Mar 2006
    Posts
    92

    How to change number of lines in CEikEdwin?

    I have looked through the header file eikedwin.h and searched the forum, but I can't seem to find how to change the number of lines in a CEikEdwin during runtime. Is there a function I could call?

    I am trying to detect when the text length has reached the maximum width, and then add an extra line to the Edwin. I hope this is possible without private APIs.

    Thanks!

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: How to change number of lines in CEikEdwin?

    Quote Originally Posted by tcalamawy View Post
    I am trying to detect when the text length has reached the maximum width, and then add an extra line to the Edwin. I hope this is possible without private APIs.
    You should experiment with the various TFlag-s, like ENoHorizScrolling, and perhaps EEdwinAlternativeWrapping (if the default behavior turns out to be not satisfactory), EResizable, EUserSuppliedText. Check the SDK Help.

  3. #3
    Regular Contributor
    Join Date
    Mar 2006
    Posts
    92

    Re: How to change number of lines in CEikEdwin?

    Other than the flags, I also ended up implementing HandleEdwinSizeEventL(CEikEdwin* aEdwin, TEdwinSizeEvent aEventType, TSize aDesirableEdwinSize) which set the size of the Edwin to aDesirableEdwinSize.

Similar Threads

  1. change outgoing call number
    By schweizerl in forum Symbian
    Replies: 9
    Last Post: 2009-06-18, 12:57
  2. [announce] Google Directions via PyS60
    By neil.young in forum Symbian
    Replies: 29
    Last Post: 2008-02-15, 10:55
  3. WML & WMLSCript problem ????
    By gemini_shooter in forum Browsing and Mark-ups
    Replies: 0
    Last Post: 2006-01-14, 06:02
  4. WML & WMLSCript problem ????
    By gemini_shooter in forum Browsing and Mark-ups
    Replies: 0
    Last Post: 2006-01-14, 06:01
  5. change the version number of my prog
    By orlowjb3 in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2005-09-29, 14:26

Posting Permissions

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