Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Create Icons at Runtime and Show Them in the System Tray

, 10 Jun 2008
Create dynamic icons at runtime and show them in the system tray
dynicon_demo.zip
DynIcon
DynIcon
DynIcon.suo
res
DynIcon.ico
icon1.ico
dynicon_demo_cs.zip
DynIconCS
DynIconCS
DynIconCS.suo
bin
Release
DynIconCS.exe
DynIconCS.pdb
DynIconCS.vshost.exe
DynIconCS.csproj.user
Properties
Settings.settings
Resources
Icon1.ico
Icon1.ico
dynicon_demo_mfc.zip
DynIcon.suo
DynIcon.ico
icon1.ico
// DynIcon.h : main header file for the PROJECT_NAME application
//

#pragma once

#ifndef __AFXWIN_H__
	#error "include 'stdafx.h' before including this file for PCH"
#endif

#include "resource.h"		// main symbols




// CDynIconApp:
// See DynIcon.cpp for the implementation of this class
//

class CDynIconApp : public CWinApp
{
public:
	CDynIconApp();

// Overrides
	public:
	virtual BOOL InitInstance();

// Implementation

	//Token for GDI+
	ULONG_PTR	m_gdiplusToken;

	DECLARE_MESSAGE_MAP()
};

extern CDynIconApp theApp;

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)

Share

About the Author

Holger Lange

Germany Germany
No Biography provided

| Advertise | Privacy | Mobile
Web03 | 2.8.140814.1 | Last Updated 10 Jun 2008
Article Copyright 2007 by Holger Lange
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid