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

Remote Processes and Machine control of Windows NT based systems (2000/XP)

, 1 Apr 2012 CPOL
Control certain aspects of machines sitting remotely, without having to install and trigger an application on the remote machine.
// RemoteAdmin.h : main header file for the REMOTEADMIN application
//

#ifndef REMOTEADMIN_H
#define REMOTEADMIN_H

#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
#include "RemoteAdminTrayIcon.h"

/////////////////////////////////////////////////////////////////////////////
// CRemoteAdminApp:
// See RemoteAdmin.cpp for the implementation of this class
//

class CRemoteAdminApp : public CWinApp
{
public:
	CRemoteAdminApp();
	virtual ~CRemoteAdminApp();

	BOOL ShowBalloonMsgInTray(CString strTitle, CString strMsgTxt); // Shows a balloon on the tray icon
	BOOL CreateAndShowSystemTrayIcon();

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

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

protected:
	CRemoteAdminTrayIcon* m_pstTrayIcon;
	
	DECLARE_MESSAGE_MAP()
};


#endif // REMOTEADMIN_H

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

Prateek Kaul
Web Developer
India India
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.1411022.1 | Last Updated 1 Apr 2012
Article Copyright 2003 by Prateek Kaul
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid