Click here to Skip to main content
15,892,927 members
Articles / Programming Languages / C++

Easy Animated Tray Icon

Rate me:
Please Sign up or sign in to vote.
4.64/5 (12 votes)
4 Feb 20023 min read 215.5K   5.8K   69  
This is a class (SS_TrayIcon) that allows for the easy addition of a tray icon into any project (whether you use MFC or not).
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by TestSSTrayIcon.rc
//
#define IDM_ABOUTBOX                    0x0010
#define IDD_ABOUTBOX                    100
#define IDS_ABOUTBOX                    101
#define IDD_TESTMFC_DIALOG              102
#define IDR_MAINFRAME                   128
#define IDI_ICON1                       129
#define IDI_ICON2                       130
#define IDI_ICON3                       131
#define IDI_ICON4                       132
#define IDI_ICON5                       133
#define IDI_ICON6                       134
#define IDR_MENU1                       135
#define IDC_BUTTON2                     1000
#define IDC_BUTTON1                     1001
#define IDC_BUTTON3                     1002
#define IDC_BUTTON4                     1003
#define IDM_SUBMENU5                    32776
#define IDM_SUBMENU6                    32777
#define IDM_SUBMENU8                    32779
#define IDM_SUBMENU9                    32780
#define IDM_SUBMENU10                   32781
#define ID_ANOTHER                      32782

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        136
#define _APS_NEXT_COMMAND_VALUE         32783
#define _APS_NEXT_CONTROL_VALUE         1004
#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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Architect Amedisys
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