Click here to Skip to main content
12,957,007 members (59,109 online)
Click here to Skip to main content


146 bookmarked
Posted 6 Nov 2000

System Tray Icons - Minimize Your Application to the SysTray

, 6 Nov 2000 CPOL
Minimize your application to system tray instead of the taskbar
// 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

#include "resource.h"		// main symbols

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

class CMyTrayApp : public CWinApp

// Overrides
	// ClassWizard generated virtual function overrides
	virtual BOOL InitInstance();

// Implementation

		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !


// 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.


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
No Biography provided

You may also be interested in...

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