×

Discussion Board

Results 1 to 6 of 6

Thread: Marquee problem

  1. #1
    Registered User
    Join Date
    Oct 2006
    Posts
    31

    Post Marquee problem

    hi... i have the following code snippet for implementing marquee on my CAknSingleGraphicStyleListBox...

    void CListBoxContainer::InitializeControlsL()
    {
    iListBox = new (ELeave) CAknSingleGraphicStyleListBox;
    iListBox->SetContainerWindowL( *this );
    {
    TResourceReader reader;
    iEikonEnv->CreateResourceReaderLC( reader, R_LIST_BOX_CONTAINER_LIST_BOX );
    iListBox->ConstructFromResourceL( reader );
    CleanupStack::PopAndDestroy(); // reader internal state
    }
    // the listbox owns the items in the list and will free them
    iListBox->Model()->SetOwnershipType( ELbmOwnsItemArray );
    iListBox->ItemDrawer()->ColumnData()->EnableMarqueeL(ETrue);

    iListBox->ItemDrawer()->ColumnData()->SetCurrentMarqueeItemIndex(4);
    }

    error comes up when it reads the line :

    iListBox->ItemDrawer()->ColumnData()->SetCurrentMarqueeItemIndex(4);

    error panel displays :

    Undefined symbol: 'void CColumnListBoxData::SetCurrentMarqueeItemIndex(int) as referenced from <caller function>.....

    I have the ff. lib in my mmp : avkon.lib eikcoctl.lib eikctl.lib
    and included this header : <eikfrlbd.h>

    what seems to be the problem. Same error is displayed when i try to use the ResetMarquee(), CreateMarqueeControlL() or IsMarqueeOn() functions... please help..

  2. #2
    Super Contributor
    Join Date
    Oct 2005
    Location
    Hyderabad,India
    Posts
    1,156

    Re: Marquee problem

    Hi,
    Which is the sdk that you are using..i guess its not supported in s60 v2.0 sdk (6600)..try on FP2 ..it would work..

    Br,
    Priju

  3. #3
    Registered User
    Join Date
    Oct 2006
    Posts
    31

    Re: Marquee problem

    i'm already using FP2. Am i doing it correct? I want to enable marquee in only one listbox item and make it scroll continously. By default, scrolling stops when the whole text is displayed.

    can u help? do you know any function that i can use to do this?

  4. #4
    Super Contributor
    Join Date
    Oct 2005
    Location
    Hyderabad,India
    Posts
    1,156

    Re: Marquee problem

    Quote Originally Posted by toinks
    i'm already using FP2. Am i doing it correct?
    Yes!!
    I want to enable marquee in only one listbox item and make it scroll continously. By default, scrolling stops when the whole text is displayed.

    can u help? do you know any function that i can use to do this?
    the list box marqueed item would get scrolled only when the item is been highlighted or focused. its not possible to scroll only one item even if its not selected. And more over the scrolling effect happens only once.Once the entire text is shown it stops.

    If you want the text to scroll continously with out been highligted continously, i would ask you to implement a Ticker effect. search the forum with Ticker keyword. Im sure you would get the desired link as i had implemented once.

    Priju

  5. #5
    Regular Contributor
    Join Date
    May 2005
    Location
    Sweden
    Posts
    272

    Re: Marquee problem

    toinks: SetMarqueeParamsL() was introduced in FP3. With this method you can set eg. the number of times you want the marquee to loop.

  6. #6
    Registered User
    Join Date
    Oct 2006
    Posts
    31

    Re: Marquee problem

    Is it possible to place a ticker with a list? i need to create a list and a ticker below it,,, SetMarqueeParamsL() would be nice but i'm using FP2. :(

    If it's not possible, can u suggest an alternative?

Similar Threads

  1. netcards - Problem with opening adapter
    By kernj in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2007-01-10, 08:56
  2. WAP service problem on Apache
    By bigg_o in forum Browsing and Mark-ups
    Replies: 3
    Last Post: 2005-04-17, 16:05
  3. Problem: S60 SDK for CW in PC with .NET
    By anttij in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2005-02-28, 11:36
  4. 7210 Silent Problem
    By MarkMckim in forum Mobile Java General
    Replies: 1
    Last Post: 2003-03-18, 12:36
  5. wml2 wcss marquee problem
    By afjochnick in forum Browsing and Mark-ups
    Replies: 1
    Last Post: 2002-10-16, 13:23

Posting Permissions

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