Click here to Skip to main content
15,887,821 members
Articles / Desktop Programming / MFC

Create Icons at Runtime and Show Them in the System Tray

Rate me:
Please Sign up or sign in to vote.
4.66/5 (18 votes)
10 Jun 2008CPOL4 min read 75.2K   2.2K   78  
Create dynamic icons at runtime and show them in the system tray
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by DynIcon.rc
//
#define IDM_ABOUTBOX                    0x0010
#define IDD_ABOUTBOX                    100
#define IDS_ABOUTBOX                    101
#define IDD_DYNICON_DIALOG              102
#define IDR_MAINFRAME                   128
#define IDI_ICON1                       129
#define IDC_VALUE1                      1000
#define IDC_VALUE2                      1001
#define IDC_START                       1003
#define IDC_STOP                        1004

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        131
#define _APS_NEXT_COMMAND_VALUE         32771
#define _APS_NEXT_CONTROL_VALUE         1005
#define _APS_NEXT_SYMED_VALUE           101
#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
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions