Click here to Skip to main content
Click here to Skip to main content

System Tray Icons - Minimize Your Application to the SysTray

By , 6 Nov 2000
 
trayicons_demo.zip
TrayIcons_demo
MyTray.dsp
MyTray.dsw
Release
MyTray.exe
res
MyTray.ico
trayicons_src.zip
// MyTray.h : main header file for the MYTRAY application
//

#if !defined(AFX_MYTRAY_H__DA41ECA5_B494_11D4_BFA7_00C0DF034AED__INCLUDED_)
#define AFX_MYTRAY_H__DA41ECA5_B494_11D4_BFA7_00C0DF034AED__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

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

#include "resource.h"		// main symbols

/////////////////////////////////////////////////////////////////////////////
// CMyTrayApp:
// See MyTray.cpp for the implementation of this class
//

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

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMyTrayApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation

	//{{AFX_MSG(CMyTrayApp)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MYTRAY_H__DA41ECA5_B494_11D4_BFA7_00C0DF034AED__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of use 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)

About the Author

Daniel Zilcsak
Software Developer
United States United States
Member
No Biography provided

Permalink | Advertise | Privacy | Mobile
Web01 | 2.6.130516.1 | Last Updated 7 Nov 2000
Article Copyright 2000 by Daniel Zilcsak
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid