Click here to Skip to main content
15,895,423 members
Articles / Desktop Programming / MFC

Controlling IP traffic from Internet to DMZ or Intranet

Rate me:
Please Sign up or sign in to vote.
4.67/5 (5 votes)
5 Dec 2011CPOL3 min read 24.1K   955   27  
Controlling IP traffic from Internet to DMZ or Intranet
/////////////////////////////////////////////////////////////////////////////
// TrayNot.h : header file
//
// This is a part of the Webster HTTP Server application
// for Microsoft Systems Journal
//

/////////////////////////////////////////////////////////////////////////////
// CTrayNot window

class CTrayNot : public CObject
{
// Construction
public:
	CTrayNot ( CWnd* pWnd, UINT uCallbackMessage,
				  LPCTSTR szTip, HICON* pList ) ;

// Attributes
public:
	BOOL				m_bEnabled ;	// does O/S support tray icon?
	NOTIFYICONDATA	m_tnd ;
	HICON*			m_pIconList ;	// caller's list of status icons

// Operations
public:
	int IDState;					//current state
	void SetState ( int id = 0 ) ;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTrayNot)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CTrayNot();

};

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

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)


Written By
Systems Engineer
Russian Federation Russian Federation
Last 6 years worked as a system administrator SAP systems.
My duties are to install, copy, backup/restore SAP in Unix, Linux system, create users, assign roles, and etc... .I wrote this program to make easer my work, and it is interesting for me to join C++.C# and SAP ABAP subsystems.

Comments and Discussions