Click here to Skip to main content
6,595,444 members and growing! (17,626 online)
Email Password   helpLost your password?
Languages » C / C++ Language » General     Intermediate

Speaking Alarm Clock

By Adalsteinn B. Bjarnason

Unique alarm application that works.
C++/CLI, VC6, .NET, MFC, Dev
Posted:11 Nov 2001
Updated:12 Nov 2001
Views:84,332
Bookmarked:32 times
Announcements
Loading...
 
Search    
Advanced Search
Add to IE Search
printPrint   add Share
      Discuss Discuss   Broken Article?Report  
16 votes for this article.
Popularity: 3.70 Rating: 3.08 out of 5
2 votes, 22.2%
1

2

3
1 vote, 11.1%
4
6 votes, 66.7%
5

Introduction

Alarm application is a fully featured computerized alarm clock. It has unique interface and is stylish. It is based on my first program that I created in 1984 when I had the great Sinclair Spectrum 48K. That alarm clock was noisy when it was not in action :-). This one is hardly usable as a regular alarm clock. That is because of the noisy fan in the computer, I will never get used to sleep with the computer on ;-). The digits are created from a bitmap taken by a digital camera (the original bitmap from it was quite dirty (because of the JPEG lossy compression)).

This application is not written for any reuse in mind.

It seems that the alarm letters are not clear on some monitors :-(

Features

  1. Alarm is capable of keeping people awake :-).
  2. Digits interface is processed from digital image of electronic alarm clock (my stereo clock).
  3. Unique Interface (UI) (region adjusted with SetWindowRgn).
  4. Snap to invisible grid (when the window is moved).
  5. Applicable interactive option dialog.
  6. Speak clock with regular intervals (Icelandic) (class CSpeakNumber decodes all whole digit numbers).
  7. Filtered "edit" entry for clock "__:__".

Snapshots

There is just one menu (popup menu) that pops up when you use right mouse click or hit the menu key on the keyboard.

Options are few ...

Setting time dialog uses filtered edit control.

Note:

The code is not very well commented. CmEdit class is borrowed somewhere from, I don't know the author but he has the honor of that class. This is my first article at CodeProject ...

Send mail to adal@itn.is with questions or comments about this example.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Adalsteinn B. Bjarnason


Member

Location: Iceland Iceland

Other popular C / C++ Language articles:

Article Top
You must Sign In to use this message board.
FAQ FAQ 
 
Noise Tolerance  Layout  Per page   
 Msgs 1 to 17 of 17 (Total in Forum: 17) (Refresh)FirstPrevNext
GeneralWhat changes required to speak in English? PinmemberCheongtak5:25 10 Jul '09  
Generalrating should be higher for this article... PinmemberCheongtak5:25 9 Jul '09  
Generaldoes not work for me PinmemberAnuj Sharma20:05 13 May '09  
GeneralGood job PinmemberOner Dikdere (TR)6:26 4 Nov '07  
GeneralAlarmSRC.zip PinsussBijal0:45 16 Nov '02  
GeneralRe: AlarmSRC.zip PinsussAnonymous0:53 16 Nov '02  
GeneralSpeak ? I didn't hear nothing ... Pinmemberprogman8:28 15 Nov '02  
GeneralRe: Speak ? I didn't hear nothing ... PinmemberLuisM3:13 12 Mar '05  
GeneralGood Idea! Pinmemberyestart18:02 5 Mar '02  
GeneralRe: Good Idea! PinmemberAnonymous2:23 6 Mar '02  
GeneralAlarm clock PinmemberAlex Evans18:50 27 Jun '02  
GeneralI've downloaded all PinmemberJose Manuel Muélledes1:42 18 Nov '01  
GeneralNo pictures, no code. PinmemberAdalsteinn B. Bjarnason12:42 13 Nov '01  
GeneralSource Code Download Corrupt too! PinmemberJohn Treubig3:22 13 Nov '01  
GeneralRe: Source Code Download Corrupt too! PinmemberChris Maunder0:20 15 Nov '01  
GeneralAlarmEXE.zip corrupted PinmemberAnonymous21:39 12 Nov '01  
General.exe ERROR! PinmemberAnonymous18:22 12 Nov '01  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 12 Nov 2001
Editor: Smitha Vijayan
Copyright 2001 by Adalsteinn B. Bjarnason
Everything else Copyright © CodeProject, 1999-2009
Web21 | Advertise on the Code Project