×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    19

    about listbox and scrollbar rect

    hi,

    i set the rect of a listbox in half rect of ClientRect(), and it's ok.

    but when i add the scroll bar for this listbox, ths scrollbar is shows in full screen, not half size of screen, can anybody tell me whether i can set the size of scrollbar or not, if i can, how to do this, thanks.

  2. #2
    Registered User
    Join Date
    May 2006
    Posts
    19

    Re: about listbox and scrollbar rect

    hi,

    i have fount this function SetScrollBarSide, but it seems it didn't exists in 3rd SDK.the code is bellow:

    CEikScrollBarFrame* frame1 = iScrollContainer->ScrollBarFrame();
    frame1->SetScrollBarVisibilityL(CEikScrollBarFrame::EOff,CEikScrollBarFrame::EAuto);
    frame1->SetScrollBarSide(CEikScrollBar::EHorizontal,CEikScrollBarFrame::EBottomOrRight);
    frame1->SetScrollBarSide(CEikScrollBar::EVertical,CEikScrollBarFrame::EBottomOrRight);

Similar Threads

  1. Scrollbar problem in Listbox.
    By mahavirjain in forum Symbian User Interface
    Replies: 0
    Last Post: 2006-06-27, 11:30
  2. listbox items not visible........
    By Neelakantan in forum Symbian User Interface
    Replies: 0
    Last Post: 2006-01-12, 05:29
  3. Why doesn't my listbox appear?
    By petrikaikko in forum Symbian
    Replies: 0
    Last Post: 2002-05-30, 08:05
  4. scrollbar in ListBox
    By Nokia_Archive in forum Symbian User Interface
    Replies: 1
    Last Post: 2002-05-29, 14:28
  5. listbox not showing??
    By asangamneheri in forum Symbian User Interface
    Replies: 1
    Last Post: 2002-05-16, 11:57

Posting Permissions

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