how to make a ticker

Login to reply to this topic.
Fri, 2005-12-16 07:21
Joined: 2005-02-22
Forum posts: 39

Hi All,

Can  any buddy tell me how to create a ticker .

Veeraj Thaploo

Fri, 2005-12-16 08:41
Joined: 2005-02-22
Forum posts: 39
Re: how to make a ticker
Hi ,

I am trying to be specific about ticker .

I am using the following code for static display as a navigation lable
----------------------------------------------------

CEikStatusPane* sp = iEikonEnv->AppUiFactory()->StatusPane();
   CAknNavigationControlContainer* np = (CAknNavigationControlContainer *)sp->ControlL(TUid::Uid(EEikStatusPaneUidNavi));
   np = (CAknNavigationControlContainer *)sp->ControlL(TUid::Uid(EEikStatusPaneUidNavi));

   iNaviDecorator = np->CreateNavigationLabelL(_L("abcdefghijklmnopqrstuvwxyz"));

----------------------------------------------------   

I want this  lable to tick all the time ...

Can any buddy help me ..

Any Pointers will be of great help ... but  reply ASAP

Veeraj
Fri, 2005-12-16 10:12
Joined: 2005-06-14
Forum posts: 81
Re: how to make a ticker
Hello,

Try this :

  //With :
//CAknNavigationDecorator* iNaviDecorator;
//TBuf < 35 > iTitleMsg;

  CEikStatusPane * sp = StatusPane();

  iTitleMsg.Append( _L( "Hello" ) );

  CAknNavigationControlContainer * naviPane;
  naviPane = ( CAknNavigationControlContainer * ) sp->ControlL( TUid::Uid( EEikStatusPaneUidNavi ) );

  if ( iNaviDecorator )
    iNaviDecorator = NULL;

  iNaviDecorator = naviPane->CreateMessageLabelL( iTitleMsg );

  naviPane->PushL( * iNaviDecorator );


I hope it will help you.

Bernie
  • Login to reply to this topic.