Click here to Skip to main content
Licence CPOL
First Posted 31 Dec 1999
Views 225,892
Bookmarked 82 times

Tray Calendar

By Chris Maunder | 2 Aug 2003
A simple application that places a date in the system tray
   4.88 (49 votes)
1 vote, 4.2%
1
2 votes, 8.3%
2

3
3 votes, 12.5%
4
18 votes, 75.0%
5
4.88/5 - 49 votes
3 removed
μ 4.48, σa 2.00 [?]
 

Sample Image - traycalendar.gif

Introduction

Tray Calendar is a freeware utility that I wrote after being amazed that

  1. Microsoft did not bother to offer us a calender in the tray, and
  2. 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.

Tray Calendar now works in CE 2.0-2.11 and VC++ .NET

History

  • 6 Apr 2002 - app now checks the date when the computer comes out of hibernation or suspension (Thanks to Derek Waters)
  • 3 Aug 2003 - Updated SystemTray class now recreates thetray icon after Explorer crashes and restarts.

License

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

About the Author

Chris Maunder

Founder
The Code Project
Canada Canada

Member

Follow on Twitter Follow on Twitter
Chris is the Co-founder, Administrator, Architect, Chief Editor and Shameless Hack who wrote and runs The Code Project. He's been programming since 1988 while pretending to be, in various guises, an astrophysicist, mathematician, physicist, hydrologist, geomorphologist, defence intelligence researcher and then, when all that got a bit rough on the nerves, a web developer. He is a Microsoft Visual C++ MVP both globally and for Canada locally.
 
His programming experience includes C/C++, C#, SQL, MFC, ASP, ASP.NET, and far, far too much FORTRAN. He has worked on PocketPCs, AIX mainframes, Sun workstations, and a CRAY YMP C90 behemoth but finds notebooks take up less desk space.
 
He dodges, he weaves, and he never gets enough sleep. He is kind to small animals.
 
Chris was born and bred in Australia but splits his time between Toronto and Melbourne, depending on the weather. For relaxation he is into road cycling, snowboarding, rock climbing, and storm chasing.

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralExcuse~ Why can't I download the source code ? Thanks~ Pinmemberanmytry16:32 5 Jan '08  
GeneralMake it use 'long date' format as defined in Regional and Language Options [modified] Pinmemberahtiger0:58 23 Nov '07  
GeneralHelp Required PinmemberSreekanth Muralidharan2:49 20 Dec '05  
GeneralRe: Help Required Pinmembermike.sun0:12 12 Oct '06  
Generalthankx for bug fix Pinmembervikas amin5:41 24 Aug '05  
GeneralLocal days and months names... PinmemberTomas Jakl5:50 8 Jul '05  
Generalchange version number Pinmembercebusong9:49 16 Jul '04  
QuestionHo to activate the application from the Explirer? PinsussPlamen Petrov4:45 27 May '04  
Answercheck out YahooPOPs source code Pinmembercebusong9:06 16 Jul '04  
GeneralTray Calendar doesn't update PinmemberKimN5:38 26 Apr '04  
GeneralRe: Tray Calendar doesn't update Pinmembercebusong9:11 16 Jul '04  
GeneralShuffle works in reverse PinmemberKimN6:35 23 Apr '04  
GeneralCompilation Fails with Visual C++ v6.0 PinmemberStevenYoungs3:17 4 Aug '03  
GeneralThanks!! PinmemberWREY20:30 4 Aug '03  
QuestionWindows CE 2.11 also? Pinmemberwrenhal4:50 13 Jul '03  
GeneralNO problem with Tray Calendar download... PinmemberJohn H. Doyle6:09 2 Mar '03  
GeneralTray Calendar Download Problem PinmemberJohn H. Doyle6:06 2 Mar '03  
QuestionHow to acees the PRINTER via my eVC++ application PinmemberAKSIVAKUMAR22:58 26 Feb '03  
QuestionHow to send FAX via my eVC++ application PinmemberAKSIVAKUMAR22:42 26 Feb '03  
GeneralAdding to startup PinmemberJack_pt4:43 22 Feb '03  
GeneralRe: Adding to startup PinmemberAKSIVAKUMAR22:37 26 Feb '03  
GeneralMetric Time in tray Pinmemberrehgf17:53 23 Jul '02  
GeneralRe: Metric Time in tray Pinmemberirekz@yahoo.com0:13 30 Jan '03  
GeneralXp Pinmemberswinefeaster21:10 14 Apr '02  
GeneralRe: Xp PinadminChris Maunder21:40 14 Apr '02  

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

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

Permalink | Advertise | Privacy | Mobile
Web01 | 2.5.120222.1 | Last Updated 3 Aug 2003
Article Copyright 2000 by Chris Maunder
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid