×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Feb 2008
    Posts
    29

    ListBox item, custom draw

    Hi all!

    I inherited my listbox control from CAknDoubleStyleListBox
    and reimplemented virtual DrawItem method. List box works, but I never get to my DrawItem and thus can't implement own drawing.

    Can someone give an idea how custom draw works in s60 list boxes?

    Thanks.
    Serge.

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

    Re: ListBox item, custom draw

    DrawItem (of CEikListBox) is not a virtual method, so you can not override it. You have to provide your own itemdrawer class. I do not know the exact method, but Search-ing for DrawItem on the boards will reveal some threads.

  3. #3
    Registered User
    Join Date
    Feb 2008
    Posts
    29

    Re: ListBox item, custom draw

    Thanks a lot.

Similar Threads

  1. Custom ListBox ...
    By islandfn in forum Symbian User Interface
    Replies: 6
    Last Post: 2008-05-28, 12:58
  2. Need help with custom Item drawer
    By gigglie in forum Symbian User Interface
    Replies: 0
    Last Post: 2008-03-10, 10:49
  3. Custom Listbox in Dialog
    By enjo13 in forum Symbian
    Replies: 0
    Last Post: 2007-05-04, 01:35
  4. Custom ListBox ...
    By islandfn in forum Symbian
    Replies: 1
    Last Post: 2007-03-05, 05:55
  5. Custom item not displayed correctly
    By kakoskin in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2004-10-11, 21:50

Posting Permissions

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