×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Oct 2006
    Posts
    31

    Unhappy Enabling marquee in listbox item

    hello... i want to make my listbox to allow display of long text through the marquee behavior.. I am just wondering if i can make a text written on a list box move like a marquee? For example,., if i have a txt that cannot fit in the list item, is it possible that when i set focus on this list item, the text written on it will move or scroll to allow user to view the whole text?

    someone gave me this one line code... and i've been browsing the API references but i cannot find it. Here's the one line code..

    iListBox->ItemDrawer()->ColumnData()->EnableMarqueeL(ETrue);

    i have a CAknSingleStyleListbox and i tried to use this code to it. An error that says ItemDrawer() is unknown. Can anyone give me a simple sample code that works with this marquee?

    PLEASE?????

  2. #2
    Registered User
    Join Date
    Jun 2006
    Posts
    259

  3. #3
    Registered User
    Join Date
    Jul 2005
    Location
    Bengaluru, India
    Posts
    747

    Re: Enabling marquee in listbox item

    Quote Originally Posted by toinks
    hello... i want to make my listbox to allow display of long text through the marquee behavior.. I am just wondering if i can make a text written on a list box move like a marquee? For example,., if i have a txt that cannot fit in the list item, is it possible that when i set focus on this list item, the text written on it will move or scroll to allow user to view the whole text?

    someone gave me this one line code... and i've been browsing the API references but i cannot find it. Here's the one line code..

    iListBox->ItemDrawer()->ColumnData()->EnableMarqueeL(ETrue);

    i have a CAknSingleStyleListbox and i tried to use this code to it. An error that says ItemDrawer() is unknown. Can anyone give me a simple sample code that works with this marquee?

    PLEASE?????
    Make sure that you've included these header files: aknlists.h, eikclbd.h, eikclb.h.

    And these lib files: avkon.lib eikcoctl.lib eikctl.lib.

Similar Threads

  1. getting the item from listbox
    By srkreddy999 in forum Symbian User Interface
    Replies: 2
    Last Post: 2005-10-20, 13:23
  2. Single click on listbox item
    By ram9210 in forum Symbian User Interface
    Replies: 0
    Last Post: 2003-12-12, 07:15
  3. How to delete the last item in a listbox
    By zhang_guoqing in forum Symbian User Interface
    Replies: 1
    Last Post: 2003-07-21, 07:28
  4. Adding Item To Listbox
    By midletsoft in forum Symbian User Interface
    Replies: 1
    Last Post: 2003-02-12, 09:01

Posting Permissions

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