Click here to Skip to main content
15,880,392 members
Articles / Desktop Programming / WTL
Article

The Code Project Ticker

Rate me:
Please Sign up or sign in to vote.
4.94/5 (11 votes)
29 Jun 2002CPOL2 min read 210.3K   3.6K   71   64
A desk band ticker that scrolls the latest messages posted in the Lounge and other forums

Sample Image

Motivation

I always want to keep myself up to date with the latest happenings at The Code Project. The problem - I can't afford to launch IE every 5 minutes to see if there are any new and interesting threads or whether there are more messages posted to a particular thread. The idea came (originally from Colin Davies) that a desk band ticker which scrolled through all the latest messages would be pretty good in this regard. This will ensure that none of the action (like a Lounge flame war) is missed when it happens.

For a change (form me) this is totally written in unmanaged C++ using ATL/WTL 7. So .NET framework runtime is not required. Even the latest MFC/CRT dlls are not required. The code makes use of the latest attributed extensions in VC++.NET and also of the new classes in ATL7 to access webservices. Later on I will add support to host .NET based addins and also normal VBScript/JScript.

How To Install

  1. Unzip the CPTicker_demo.zip file. This will extract one file, CPTicker.dll.

  2. Register the CPTicker.dll by calling regsvr32 CPTicker.dll

  3. Right click on the task bar. This will show a menu as shown in the image below. From the Toolbars sub menu select "The Code Project Ticker". This will place The Code Project Ticker desk band on the task bar.

    Sample image 2

  4. The latest messages are shown and are periodically refreshed from the website.

  5. Clicking on any message will launch IE and navigate to the message thread view.

Update 6/30/2002

Thanks to Shog for his suggestions.

  1. There is a new settings dialog as shown in the top screen shot that allows users to configure colors as well as the animation speed. (Thanks to Tim Smith for his WTL color picker control). To bring up the dialog double click on the ticker band.
  2. Fixed some memory leaks

Pending Work

  1. Support for other sites like MSDN, SellsBrothers etc.
  2. Menu support for common tasks like posting to the lounge etc.

Please inform me of any problems and as usual suggestions are welcome.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralRe: Unable to build. Pin
2-Jul-02 8:02
suss2-Jul-02 8:02 
GeneralRe: Unable to build. Pin
Rama Krishna Vavilala2-Jul-02 8:06
Rama Krishna Vavilala2-Jul-02 8:06 
GeneralDoesn't work for me. Pin
WREY1-Jul-02 9:34
WREY1-Jul-02 9:34 
GeneralRe: Doesn't work for me. Pin
1-Jul-02 21:40
suss1-Jul-02 21:40 
GeneralRe: Doesn't work for me. Pin
WREY1-Jul-02 23:11
WREY1-Jul-02 23:11 
GeneralRe: Doesn't work for me. Pin
WREY1-Jul-02 23:23
WREY1-Jul-02 23:23 
GeneralMade it to work on windows 9X Pin
Rama Krishna Vavilala30-Jun-02 15:06
Rama Krishna Vavilala30-Jun-02 15:06 
GeneralRe: Made it to work on windows 9X Pin
mdemarco8-May-04 17:16
mdemarco8-May-04 17:16 
GeneralAnother update Pin
Rama Krishna Vavilala30-Jun-02 10:09
Rama Krishna Vavilala30-Jun-02 10:09 
QuestionProxy? Pin
Jon Newman30-Jun-02 4:27
Jon Newman30-Jun-02 4:27 
AnswerRe: Proxy? Pin
Rama Krishna Vavilala30-Jun-02 6:29
Rama Krishna Vavilala30-Jun-02 6:29 
AnswerRe: Proxy? Pin
Rama Krishna Vavilala30-Jun-02 15:06
Rama Krishna Vavilala30-Jun-02 15:06 
QuestionThis is to be compiled with .NET, correct? Pin
gordingin27-Jun-02 8:44
gordingin27-Jun-02 8:44 
AnswerRe: This is to be compiled with .NET, correct? Pin
Rama Krishna Vavilala27-Jun-02 8:53
Rama Krishna Vavilala27-Jun-02 8:53 
GeneralRe: This is to be compiled with .NET, correct? Pin
gordingin27-Jun-02 9:07
gordingin27-Jun-02 9:07 
GeneralRe: This is to be compiled with .NET, correct? Pin
Rama Krishna Vavilala27-Jun-02 9:15
Rama Krishna Vavilala27-Jun-02 9:15 
GeneralRe: This is to be compiled with .NET, correct? Pin
gordingin28-Jun-02 3:21
gordingin28-Jun-02 3:21 
GeneralRe: This is to be compiled with .NET, correct? Pin
Andrew Peace30-Jun-02 7:47
Andrew Peace30-Jun-02 7:47 
GeneralRe: This is to be compiled with .NET, correct? Pin
gordingin1-Jul-02 4:10
gordingin1-Jul-02 4:10 
GeneralRe: This is to be compiled with .NET, correct? Pin
Rama Krishna Vavilala1-Jul-02 4:27
Rama Krishna Vavilala1-Jul-02 4:27 
GeneralRe: This is to be compiled with .NET, correct? Pin
Brian Olej4-Jul-02 18:54
Brian Olej4-Jul-02 18:54 
GeneralKewlllll! Pin
Jim Crafton27-Jun-02 6:22
Jim Crafton27-Jun-02 6:22 
GeneralRe: Kewlllll! Pin
Rama Krishna Vavilala27-Jun-02 7:30
Rama Krishna Vavilala27-Jun-02 7:30 
QuestionHow to get it to work in NT4? Pin
Roger Allen27-Jun-02 3:33
Roger Allen27-Jun-02 3:33 
AnswerRe: How to get it to work in NT4? Pin
Rama Krishna Vavilala27-Jun-02 3:41
Rama Krishna Vavilala27-Jun-02 3:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.