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

System Tray Icons - Minimize Your Application to the SysTray

, 6 Nov 2000 CPOL
Minimize your application to system tray instead of the taskbar
trayicons_demo.zip
TrayIcons_demo
res
MyTray.ico
MyTray.dsp
MyTray.dsw
Release
MyTray.exe
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 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

Daniel Zilcsak
Software Developer
United States United States
No Biography provided

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