5,696,038 members and growing! (14,889 online)
Email Password   helpLost your password?
Languages » C / C++ Language » General     Intermediate

Simple Alarm Application

By mimosa

A simple delay alarm and preset time alarm that pops up a window and/or play a WAV/MP3. There is also a snooze.
VC6, VC7, VC7.1, C++Windows, Win2K, WinXP, Win2003, MFC, VS6, Visual Studio, Dev

Posted: 22 Mar 2004
Updated: 22 Mar 2004
Views: 39,524
Bookmarked: 19 times
Announcements
Loading...



Search    
Advanced Search
Sitemap
19 votes for this Article.
Popularity: 5.12 Rating: 4.00 out of 5
2 votes, 10.5%
1
0 votes, 0.0%
2
1 vote, 5.3%
3
4 votes, 21.1%
4
12 votes, 63.2%
5

Sample Image - Alarm.jpg

Introduction

This application, though simple, is very useful; in the case you ordered a pizza during your programming session and you don't want to let the delivery man being angry standing out (or any other application).

Although the source code is given, you don't really need it to use the application. But, still you are a programmer, you are free to bring your modification, as you wish.

There are two main class: the main dialog (setup dialog), and the popup window that pops the alarm. There are two types of alarm available, that can be used independently. A delay alarm, when you only know in how much time you want to get annoyed. And a preset time alarm, when you know exactly the time you want to be disturbed.

The application can be started at Windows startup, in the case of a preset time alarm. The alarm can be the form of a sound file (wave or MP3) and/or a window popup. The sound repeats itself while the window stays on top. You can set the repeat time on the popup window, you can snooze the alarm (and still setting the snooze time).

The application can also be hidden on the tray.

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

mimosa



Occupation: Engineer
Location: United States United States

Other popular C / C++ Language articles:

Article Top
Sign Up to vote for this article
You must Sign In to use this message board.
FAQ FAQ Noise ToleranceSearch Search Messages 
 Layout  Per page   
 Msgs 1 to 7 of 7 (Total in Forum: 7) (Refresh)FirstPrevNext
GeneralMemory Leaks toomemberdukdukduk10:27 7 Feb '07  
GeneralOnce more -- Thank youmemberGammill20:13 4 Dec '05  
Generalthank youmemberGammill9:06 4 Dec '04  
GeneralCompile errors.memberWREY6:48 24 Mar '04  
GeneralRe: Compile errors.membermimosa11:22 3 Apr '04  
GeneralRe: Compile errors.memberLabRat15:32 5 Apr '04  
GeneralRe: Compile errors.memberNeo.Liang16:48 21 Dec '06  

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

PermaLink | Privacy | Terms of Use
Last Updated: 22 Mar 2004
Editor: Smitha Vijayan
Copyright 2004 by mimosa
Everything else Copyright © CodeProject, 1999-2008
Web12 | Advertise on the Code Project