Click here to Skip to main content
15,881,027 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

 
GeneralTicker in Visual C Pin
Lord_Chiru2-Nov-06 20:33
Lord_Chiru2-Nov-06 20:33 
QuestionHow to resize !!!!! Pin
neoandrew16-Oct-06 3:34
neoandrew16-Oct-06 3:34 
GeneralC# Pin
alpha_97-Aug-06 22:12
alpha_97-Aug-06 22:12 
GeneralLoading errors: -2147352567 Pin
rubbish@eezi.nl8-Feb-05 21:35
rubbish@eezi.nl8-Feb-05 21:35 
GeneralThe Code Project Ticker: Nice Tool. Pin
rbid26-Jan-05 21:22
rbid26-Jan-05 21:22 
Thanks, nice tool.

-- Ricky Marek (AKA: rbid)
-- "Things are only impossible until they are not" --- Jean-Luc Picard

My articles
GeneralScreen Corrds to (x,y) chart coords in MSChart Pin
Member 97062113-Jun-04 20:07
Member 97062113-Jun-04 20:07 
GeneralProblems compiling Pin
gordingin14-Mar-04 18:56
gordingin14-Mar-04 18:56 
GeneralRe: Problems compiling Pin
Hardy Wang20-Jan-05 9:35
Hardy Wang20-Jan-05 9:35 
GeneralStarting a project Pin
gordingin28-Jan-04 3:00
gordingin28-Jan-04 3:00 
GeneralVC 6.0 Pin
Balkrishna Talele5-Jan-04 0:33
Balkrishna Talele5-Jan-04 0:33 
GeneralOpening in NEW window Pin
Sarvesvara (BVKS) Dasa19-Dec-03 23:01
Sarvesvara (BVKS) Dasa19-Dec-03 23:01 
GeneralRe: Opening in NEW window Pin
Sarvesvara (BVKS) Dasa21-Jan-04 20:09
Sarvesvara (BVKS) Dasa21-Jan-04 20:09 
GeneralRe: Opening in NEW window Pin
Prakash Nadar29-Mar-04 8:40
Prakash Nadar29-Mar-04 8:40 
GeneralAwesome! Pin
Brad Jennings26-Sep-03 21:35
Brad Jennings26-Sep-03 21:35 
QuestionXP ? Pin
Rage11-May-03 23:38
professionalRage11-May-03 23:38 
GeneralQuestion Pin
Tom Archer15-Mar-03 8:37
Tom Archer15-Mar-03 8:37 
GeneralFantastic!!! Pin
Anthony_Yio24-Nov-02 17:05
Anthony_Yio24-Nov-02 17:05 
GeneralThis is a good tool, but could add to the documentation. Pin
TigerNinja_10-Oct-02 5:05
TigerNinja_10-Oct-02 5:05 
GeneralGreat work! Pin
TigerNinja_18-Jul-02 8:17
TigerNinja_18-Jul-02 8:17 
GeneralNot quite sure. Pin
WREY12-Jul-02 19:31
WREY12-Jul-02 19:31 
GeneralTicker Headline doesn't take me to the view. Pin
WREY5-Jul-02 21:42
WREY5-Jul-02 21:42 
GeneralRe: Ticker Headline doesn't take me to the view. Pin
Rama Krishna Vavilala5-Jul-02 23:00
Rama Krishna Vavilala5-Jul-02 23:00 
GeneralRe: Ticker Headline doesn't take me to the view. Pin
WREY6-Jul-02 11:34
WREY6-Jul-02 11:34 
GeneralUnable to build. Pin
2-Jul-02 7:22
suss2-Jul-02 7:22 
GeneralRe: Unable to build. Pin
Rama Krishna Vavilala2-Jul-02 7:37
Rama Krishna Vavilala2-Jul-02 7:37 

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.