Digital Clock Class
Posted
by George Chastain
on December 27th, 1999

The CGCClock class allows the developer to quickly place a clock in a user interface. It is publicly derived from the CGCColorStatic class to provide the ability to control the background and text colors, the font utilized, the border style and more.
The CGCClock class provides the capability to select between 12 hour format or 24 hour (sometimes referred to as "military time") format.
HOW TO USE CGECClock
Downloads
Download demo application - 101 KbDownload demo source - 36 Kb

Comments
A one another good bug
Posted by g_arora on 11/06/2005 07:09amThanks Steve! Darn cut-n-paste errors!
Posted by Legacy on 04/26/2000 12:00amOriginally posted by: George Chastain
They get me once-in-a-while. Thanks!
ReplyVery nice easy to use - One small bug....
Posted by Legacy on 04/26/2000 12:00amOriginally posted by: Steve McCray
ReplySet the styles in the code...
Posted by Legacy on 01/10/2000 12:00amOriginally posted by: Markus
Instead of setting the styles in the resource editor you can override the PreSubclassWindow to set the nessisary styles
/Markus
Replyvoid CGCClock::PreSubclassWindow()
{
ModifyStyle(0,SS_CENTER|SS_CENTERIMAGE);
CGCColorStatic::PreSubclassWindow();
}
Very nice digital clock and easy to use
Posted by Legacy on 01/05/2000 12:00amOriginally posted by: Eder Arroyo
Anyway do you know where can i get the same but for an analogic clock?
Reply