Click here to Skip to main content
15,885,650 members
Articles / Programming Languages / C++

Tray Me!

Rate me:
Please Sign up or sign in to vote.
4.98/5 (21 votes)
1 Aug 2008CPOL9 min read 93.4K   3.7K   138  
A Beginner's Guide to Windows Hooks
#include "stdafx.h"

#define ARRAY_SIZE				1024

//All the menu ids
#define MENUID_SEPARATOR		100
#define MENUID_UNTRAY_ALL		101
#define MENUID_ABOUT_DLG		102
#define MENUID_EXIT				103

#define MENUID_APPNAMES			200
#define HOT_KEY_ID				46000
//Register a window message.
const UINT WM_TRAY_ICON_NOTIFY_MESSAGE = ::RegisterWindowMessage(_T("WM_TRAY_ICON_NOTIFY_MESSAGE-{648DC384-565B-4d39-9E1D-D5A5652714B4}"));

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
India India
Hello All !
This is Mallinath S. Karkanti, from India. I'm working as a Software Developer in one of the Middle Scale Company... !

Comments and Discussions