×

Discussion Board

Results 1 to 6 of 6

Hybrid View

  1. #1
    Registered User
    Join Date
    Jan 2008
    Posts
    82

    Question About CEikListBox::SetItemHeightL

    Hi,
    I want to change the item height of CAknDoubleStyleListBox.
    I call like this: iListBox->SetItemHeightL(40);
    But it doesn't work.
    Does anybody know the reason and would be so kind to give me some hint?
    Many thanks in advance!

  2. #2
    Registered User
    Join Date
    Jan 2008
    Posts
    82

    Re: About CEikListBox::SetItemHeightL

    Does anybody have the same requirement and what the answer is?

  3. #3
    Regular Contributor
    Join Date
    Nov 2006
    Location
    India
    Posts
    170

    Re: About CEikListBox::SetItemHeightL

    Quote Originally Posted by stone_cheng View Post
    Hi,
    I want to change the item height of CAknDoubleStyleListBox.
    I call like this: iListBox->SetItemHeightL(40);
    But it doesn't work.
    Does anybody know the reason and would be so kind to give me some hint?
    Many thanks in advance!
    hello

    iListBox->SetItemHeightL(40); this doesn't work means??
    have u set rect according to height?

    bnvaikos

  4. #4
    Super Contributor
    Join Date
    Jul 2007
    Location
    Magnitogorsk, Russia
    Posts
    536

    Re: About CEikListBox::SetItemHeightL

    You can customize your listbox with the help of own listBox view.
    It is possible to install own listbox view in method MakeViewClassInstanceL();

  5. #5
    Registered User
    Join Date
    Jan 2008
    Posts
    82

    Re: About CEikListBox::SetItemHeightL

    Quote Originally Posted by Den123 View Post
    You can customize your listbox with the help of own listBox view.
    It is possible to install own listbox view in method MakeViewClassInstanceL();
    Could you give me some example code?

  6. #6
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    434

    Re: About CEikListBox::SetItemHeightL

    Quote Originally Posted by stone_cheng View Post
    Could you give me some example code?
    Refer to
    http://read.pudn.com/downloads119/so...View.cpp__.htm
    www.faxinwen.com 发新闻
    阅读分享__移动与互联网

Posting Permissions

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