×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    8

    ScrollBar not visible after visit to menu

    Hi,

    I'm using basic container (derived from CCoeControl) and added CEikScrollBarFrame to it. I update it on each keypress. It works OK. But when I visit menu (Options) and go back scrollbar has disappeared! I can't add scrollbar update method to Draw because the it won't draw scrollbar at all and it seems to flicker.

    Creation of scrollbar:

    iFrame = new(ELeave)CEikScrollBarFrame(this, NULL, ETrue);
    iFrame->CreateDoubleSpanScrollBarsL(EFalse, EFalse);
    iFrame->SetTypeOfVScrollBar(CEikScrollBarFrame::EDoubleSpan);
    iFrame->SetScrollBarVisibilityL(CEikScrollBarFrame::EOff, CEikScrollBarFrame::EAuto);

  2. #2
    Regular Contributor
    Join Date
    Mar 2005
    Location
    Bangalore,India
    Posts
    306
    iFrame->DrawScrollBarsNow()
    in draw method

Posting Permissions

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