Click here to Skip to main content
15,889,808 members
Articles / Programming Languages / C++

Simple Reminder Application

Rate me:
Please Sign up or sign in to vote.
3.88/5 (19 votes)
22 Sep 2006CPOL6 min read 143.5K   13.2K   33  
The article presents a simple Reminder application, using registry to store the reminders.
#ifndef __DIALOG_DATE_H__
#define __DIALOG_DATE_H__

#include<windows.h>
#include<commctrl.h>

#define MAX_REMINDER_IN_EDIT_BOX		1024


//functions
void DateStringtoDateComponents(TCHAR *szDate,short *day, short *month, short *year);
void DateComponentstoDateString(const short day,const short month,const short year,TCHAR *szDateString);
void TimeStringtoTimeComponents(TCHAR *szTime,short *hour, short *minute, short *AMP);
void TimeComponentstoTimeString(const short hour,const short minute,const short AMP,TCHAR *szTimeString);
int DeleteDatafromRegistry(const HKEY hKey,TCHAR *szDate,TCHAR *szTime);
int FillDefaultDatainDialogBox(const HWND hDlg);
int SaveDialogButton(const HWND hDlg,const HKEY hKey);
int DeleteDialogButton(const HWND hDlg,const HKEY hKey);

#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)
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions