Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Speaking Alarm Clock

0.00/5 (No votes)
12 Nov 2001 1  
Unique alarm application that works.

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