|
|||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||
|
Announcements
Chapters
Services
Feature Zones
|
Note: This is an unedited contribution. If this article is inappropriate,
needs attention or copies someone else's work without reference then please
Report This Article
IntroductionYears ago when Chris Maunder published his MFC TrayCalendar app, I added a few features that I wanted. Such as being able to copy the current date to the clipboard, and a dialog to show the calender so I copy copy date ranges and look what date of the week my neice's birthday was on or what not. I recently hacked up a .Net version of the app. The difference is that the system tray icons are created dynamically. The code to convert an Image to an Icon that actually came from the web. // Convert an image to an Icon
System.Drawing.Icon ImageToIcon(System.Drawing.Image image)
{
return System.Drawing.Icon.FromHandle(((Bitmap) image).GetHicon());
}
I'd like to add other features like integrating with Outlook. UpdateI removed the timer control and used the Win32 SetTimer. I think there is an issue with the font too.
|
||||||||||||||||||||||||||||||||||||||||