Click here to Skip to main content
15,894,646 members
Articles / Desktop Programming / MFC

XTimer - Timer and Stopwatch Utility with Source Code

Rate me:
Please Sign up or sign in to vote.
4.81/5 (33 votes)
20 Aug 2007CPOL3 min read 166K   6.7K   82  
XTimer provides countdown timer and stopwatch features in a compact MFC dialog app.
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by XTimer.rc
//
#define IDM_ABOUTBOX                    0x0010
#define IDD_ABOUTBOX                    100
#define IDS_ABOUTBOX                    101
#define IDD_XTIMER_DIALOG               102
#define IDD_TIMER_OPTIONS               103
#define IDR_CONTEXT1                    104
#define IDR_CONTEXT2                    105
#define IDR_MAINFRAME                   106
#define IDI_START                       110
#define IDI_RESET                       111
#define IDI_MORE                        112
#define IDI_STOP                        113
#define IDB_PLAYD                       120
#define IDB_PLAYU                       121
#define IDS_MAILTO                      122
#define IDI_PLAY                        123
#define IDC_TIME                        1000
#define IDC_START                       1001
#define IDC_RESET                       1002
#define IDC_HOURS                       1003
#define IDC_MORE                        1004
#define IDC_MINUTES                     1005
#define IDC_SECONDS                     1006
#define IDC_SOUND                       1007
#define IDC_BROWSE                      1008
#define IDC_PLAY                        1009
#define IDC_PLAYSOUND                   1010
#define IDC_ABOUT_EMAIL                 1011
#define IDC_ABOUT_HYPERLINK             1012
#define IDC_RADIO_ONCE                  1013
#define IDC_RADIO_CONTINUOUS            1014
#define ID_START                        32771
#define ID_STOP                         32772
#define ID_STOPWATCH                    32773
#define ID_TIMER                        32774
#define ID_ABOUT                        32775
#define ID_TIMER_OPTIONS                32776
#define ID_ONE_MINUTE                   32800
#define ID_TWO_MINUTES                  32801
#define ID_FIVE_MINUTES                 32802
#define ID_TEN_MINUTES                  32803
#define ID_FIFTEEN_MINUTES              32804
#define ID_TWENTY_MINUTES               32805
#define ID_THIRTY_MINUTES               32806
#define ID_FORTYFIVE_MINUTES            32807
#define ID_ONE_HOUR                     32808
#define ID_TWO_HOURS                    32809
#define ID_THREE_HOURS                  32810
#define ID_FOUR_HOURS                   32811
#define ID_FIVE_HOURS                   32812
#define ID_SIX_HOURS                    32813
#define ID_SEVEN_HOURS                  32814
#define ID_EIGHT_HOURS                  32815

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        124
#define _APS_NEXT_COMMAND_VALUE         32777
#define _APS_NEXT_CONTROL_VALUE         1015
#define _APS_NEXT_SYMED_VALUE           107
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Hans Dietrich Software
United States United States
I attended St. Michael's College of the University of Toronto, with the intention of becoming a priest. A friend in the University's Computer Science Department got me interested in programming, and I have been hooked ever since.

Recently, I have moved to Los Angeles where I am doing consulting and development work.

For consulting and custom software development, please see www.hdsoft.org.






Comments and Discussions