Click here to Skip to main content
11,718,589 members (87,650 online)
Click here to Skip to main content
Add your own
alternative version

Simple Reminder Application

, 22 Sep 2006 CPOL 75.2K 7.7K 32
The article presents a simple Reminder application, using registry to store the reminders.
#ifndef __STATUS_TRAY_H__
#define __STATUS_TRAY_H__


#define ID_STATUS_BAR	(WM_APP + 77)
//Menu Items
#define IDM_APP_EXIT					(WM_APP + 101)
#define IDM_SYS_APP_SHOW				(WM_APP + 102)
#define IDM_SYS_APP_HIDE				(WM_APP + 103)
#define IDM_APP_ABOUT					(WM_APP + 104)
#define IDM_APP_STARTUP					(WM_APP + 105)
#define IDM_SYS_ADD_REMINDER			(WM_APP + 106)
#define IDM_SYS_EDIT_REMINDER			(WM_APP + 107)
#define IDM_SYS_DEL_REMINDER			(WM_APP + 108)

#define MAX_KEY_LENGTH 255
#define MAX_VALUE_NAME 16383

HWND CreateStatusBar(const HWND hwnd);
void DisplayClockDateStatusBar(const HWND hStatusBar);
HWND CreateListViewBox(const HINSTANCE hInstance,HWND hwnd);
int AddListViewRow(const HWND hControl, TCHAR *szItemText, TCHAR *szSubItemText,TCHAR *szSubItemText2);
HMENU MenuDisplay(const HWND hwnd);
HMENU SystemTrayMenu(const HWND hwnd);
HKEY CreateApplicationKey();
int AddDatatoRegistry(const HKEY hKey, TCHAR *szDate,TCHAR *szTime,TCHAR *szReminder);
int SearchRegistryString(const HKEY hKey,TCHAR *szSearchDate,TCHAR *szSearchTime,TCHAR *szReminderData);
int UpdateListViewfromRegistry(const HWND hListView,HKEY hKey);
int CALLBACK SortingCodeListViewControl(LPARAM lParam1, LPARAM lParam2,LPARAM lParamSort)  ;
int CompareCurrentTimewithRegistryDataTimer(const HKEY hKey);
int DeleteEmptyKeysfromRegistry(const HKEY hKey);
HMENU RightClickMenuonListView(const HWND hwnd);


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.


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


About the Author

Software Developer (Senior)
India India
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.150901.1 | Last Updated 22 Sep 2006
Article Copyright 2006 by kavitesh
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid