Click here to Skip to main content
15,896,730 members
Articles / Programming Languages / C++

CTrayIcon - System Tray Icon Wrapper

Rate me:
Please Sign up or sign in to vote.
3.17/5 (14 votes)
6 Jun 20078 min read 177K   5K   47  
An article exhibiting a wrapper class for System Taskbar icon.
; CLW file contains information for the MFC ClassWizard

[General Info]
Version=1
LastClass=CCTrayIconDemoDlg
LastTemplate=CDialog
NewFileInclude1=#include "stdafx.h"
NewFileInclude2=#include "CTrayIconDemo.h"

ClassCount=3
Class1=CCTrayIconDemoApp
Class2=CCTrayIconDemoDlg
Class3=CAboutDlg

ResourceCount=4
Resource1=IDD_ABOUTBOX
Resource2=IDR_MAINFRAME
Resource3=IDD_CTRAYICONDEMO_DIALOG
Resource4=IDR_TASKBAR_MENU

[CLS:CCTrayIconDemoApp]
Type=0
HeaderFile=CTrayIconDemo.h
ImplementationFile=CTrayIconDemo.cpp
Filter=N

[CLS:CCTrayIconDemoDlg]
Type=0
HeaderFile=CTrayIconDemoDlg.h
ImplementationFile=CTrayIconDemoDlg.cpp
Filter=D
BaseClass=CDialog
VirtualFilter=dWC
LastObject=IDR_TASKBAR_MENU_SHOW

[CLS:CAboutDlg]
Type=0
HeaderFile=CTrayIconDemoDlg.h
ImplementationFile=CTrayIconDemoDlg.cpp
Filter=D

[DLG:IDD_ABOUTBOX]
Type=1
Class=CAboutDlg
ControlCount=4
Control1=IDC_STATIC,static,1342177283
Control2=IDC_STATIC,static,1342308480
Control3=IDC_STATIC,static,1342308352
Control4=IDOK,button,1342373889

[DLG:IDD_CTRAYICONDEMO_DIALOG]
Type=1
Class=CCTrayIconDemoDlg
ControlCount=3
Control1=IDC_HIDE,button,1342242817
Control2=IDCANCEL,button,1342242816
Control3=IDC_STATIC,static,1342308352

[MNU:IDR_TASKBAR_MENU]
Type=1
Class=?
Command1=IDR_TASKBAR_MENU_ABOUT
Command2=IDR_TASKBAR_MENU_SHOW
Command3=IDR_TASKBAR_MENU_EXIT
CommandCount=3

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

Comments and Discussions