Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    144

    Scrollable CEikImage on a Container

    Dear Devs,

    a container is 240x222
    I got a picture which is 640x480
    I want to be able to draw the picture on the canvas (I use a CEIKImage)
    using scrolling.

    Any ideas?
    thanks!
    S.

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Scrollable CEikImage on a Container

    AFAIK there are no inbuilt Functions to do that you have to play with 2 BitMap Buffers to give the effect.

  3. #3
    Nokia Developer Champion
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,348

    Re: Scrollable CEikImage on a Container

    You can try to make CEikScrollBarFrame and display image in full size. Read this form more info - Scroller API: Using Scroller API

    Or resize image before shown it.

  4. #4
    Registered User
    Join Date
    Sep 2008
    Posts
    144

    Re: Scrollable CEikImage on a Container

    Quote Originally Posted by A.A.M. View Post
    You can try to make CEikScrollBarFrame and display image in full size. Read this form more info - Scroller API: Using Scroller API

    Or resize image before shown it.
    Hi! thanks for the replies.
    I resized it, and its ok.
    However, not to observe it in detail.

    I am puzzled on where to use the code:

    "....Creating a scrollbar
    A typical scrollbar creation (based on the system's DefaultScrollBarType()) looks like this:
    iSBFrame = new ( ELeave ) CEikScrollBarFrame( this, NULL );
    CAknAppUiBase* appUi = iAvkonAppUi;

    thanks!
    s.
    if( AknLayoutUtils:efaultScrollBarType( appUi ) == ...."

Similar Threads

  1. regarding size of container.
    By raj8nokiaforum in forum Symbian
    Replies: 4
    Last Post: 2008-12-17, 22:06
  2. Replies: 7
    Last Post: 2008-10-31, 13:18
  3. scrollable container example...
    By GeKI in forum Symbian User Interface
    Replies: 3
    Last Post: 2007-12-05, 11:13
  4. View vs. Container
    By mikea1 in forum Symbian
    Replies: 5
    Last Post: 2006-01-12, 10:06
  5. S60's equivalent to UIQ scrollable container?
    By yjzhang in forum Symbian User Interface
    Replies: 0
    Last Post: 2003-09-29, 12:29

Posting Permissions

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