The Code Project View our sponsorsClick here for Dundas Consulting - experts in MFC, C++, TCP/IP and ASPAdvertise on the CodeProject
Home >> Date / Time handling >> General

Tray Calendar
By Chris Maunder

A simple app that places a date in the system tray 
 Win95/98, NT4, W2K, VC5.0, Unicode, MFC, CE 2.0-2.11
 Posted 1 Jan 2000
Articles by this author
Send to a friend
Printer friendly version
Home Latest updates Submit your article About Us Advertise on the Code Project Contact us Discussion Forums
Navigation bar
15 users have rated this article. result:
3.87 out of 5.
  • Download demo executable - 17 Kb
  • Download source files - 49 Kb
  • Sample Image - traycalendar.gif

    Tray Calendar is a freeware utility that I wrote after being amazed that
    (a) Microsoft did not bother to offer us a calender in the tray, and
    (b) People were charging good money for tiny little tray apps.

    The idea is simple: Put the day of the month next to the clock in the system tray. It tells you todays date, and will update the number displayed when the date changes. 20 seconds after it starts it will reshuffle itself so that it is the right-most icon in the tray. This is useful if you put it in the "Startup" folder (so it starts automatically) becuase during startup other icons such as virus checkers and such may get between the calender and the clock.

    The only options are that you can disable date checking, disable auto-shuffle, and you can change the auto-shuffle time. Right click on the date icon for the options dialog.

    The class is based on my CSystemTray class, and serves as a fairly quick and dirty example of how to use it.

    New: Tray Calendar now works in CE 2.0-2.11.

    About Chris Maunder

    Chris is the founder and site administrator for CodeProject.com. He's been programming in C/C++ for 10 years and Visual C++/MFC for 4 years. His background includes pure and applied mathematics, engineering and physics, and he is currently based in Canberra, Australia.

    Click here to visit Chris Maunder's homepage.

    [Top] Sign in to vote for this article:     PoorExcellent  

    View our sponsorsGet the power of C++ with the ease of VBAdvertise on the CodeProject

    Hint: For improved responsiveness, use Internet Explorer 4 (or above) with Javascript enabled, choose 'Use DHTML' from the View dropdown and hit 'Set Options'.
     Keyword Filter
     View   Per page   Messages since
    New threadMessages 1 to 5 of 5 (Total: 5)[First] [Prev] [Next] [Last]
    Subject 
    Author 
    Date 
      What does "Can't build MFC OLE projects using static MFC libraries" mean?
     Carson Wilson 13:40 28 Jun 01 
      Re: What does
     digiedit 15:03 28 Jun 01 
      Now I don't have a WinMain!
     Carson Wilson 16:03 28 Jun 01 
      Re: Now I don't have a WinMain!
     Carson Wilson 17:00 28 Jun 01 
      Re: What does
     Carson Wilson 17:56 28 Jun 01 
    Last Visit: 12:00 Friday 1st January, 1999[First] [Prev] [Next] [Last]
    Home >> Date / Time handling >> General
    Advertise on The Code Project
    Article content copyright Chris Maunder, 2000
    everything else © CodeProject, 1999-2001.