Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Programmer Help > Scrolling text ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 3678 of 3809
Post > Topic >>

Scrolling text like a stock ticker

by flopbucket <flopbucket@[EMAIL PROTECTED] > Mar 28, 2008 at 04:05 PM

Hi,

I'm an experienced C++ developer but new to Mac OS X.  I am familiar
with basic Cocoa development, Objective-C, etc.

I want to write a small app that open a window and at the bottom has a
scrolling text area, like a stock ticker.  As new data arrives, I want
it to smoothly scroll in from the right, causing text at the extreme
left to scroll out of the window.  Normal "ticker" type stuff.

Being new to Mac OS, I'm not exactly sure how best to go about this.
Especially about getting the letters to smoothly scroll in (i.e. not
whole letter at a time).  Do I draw to an offscreen bitmap and copy
part of it to the window for display?

If anyone has any ideas on how to go about this it'd be greatly
appreciated.  I don't mind reading and doing the hard work of course,
I'm just not sure what way you would do this in Cocoa.

Thanks
 




 5 Posts in Topic:
Scrolling text like a stock ticker
flopbucket <flopbucket  2008-03-28 16:05:31 
Re: Scrolling text like a stock ticker
David Phillip Oster <o  2008-03-29 11:27:50 
Re: Scrolling text like a stock ticker
flopbucket <flopbucket  2008-03-30 08:35:26 
Re: Scrolling text like a stock ticker
David Phillip Oster <o  2008-03-30 08:52:01 
Re: Scrolling text like a stock ticker
Simon Slavin <slavins.  2008-03-30 19:58:40 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 19 23:29:53 CDT 2008.