Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User rparviainen's Avatar
    Join Date
    Aug 2006
    Posts
    6
    I'm having some problems adding a scrollbar to an CEikEdwin using CreateScrollBarFrameL() in a custom view. It shows up and works ok, but white blocks are painted in the background of the scrollbar, see these two examples: 1, 2. (BTW, the default theme in the emulator is quite bad for spotting these kinds of problems...)

    Any idea what might be the problem? The height of the white boxes seems to correspond to the height of the status area above the application.

  2. #2
    Registered User marvik_34's Avatar
    Join Date
    Jun 2006
    Posts
    259
    Hi,

    Try with this code
    iRichText = new (ELeave) CEikRichTextEditor;
    iRichText ->ConstructL(this,0,0,0);
    CEikScrollBarFrame* scrollBarFrame = iRichText ->CreatePreAllocatedScrollBarFrameL();
    scrollBarFrame->SetScrollBarVisibilityL(CEikScrollBarFrame::EOff, CEikScrollBarFrame::EAuto);
    iRichText ->SetFocus(ETrue);

    Cheer's

  3. #3
    Registered User rparviainen's Avatar
    Join Date
    Aug 2006
    Posts
    6
    That is basically what I'm doing, except I'm using a CEikEdwin instead of CEikRichTextEditor (don't need the extra features). I don't really see how CEikEdwin vs. CEikRichTextEditor would matter, but I'm been surprised before...

Similar Threads

  1. risezable edwin
    By djazia in forum Symbian User Interface
    Replies: 0
    Last Post: 2003-07-31, 17:31

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved