www.pudn.com > VPNClient-Source.rar > VPNClientDlg.h


// VPNClientDlg.h : header file 
// 
 
#if !defined(AFX_VPNCLIENTDLG_H__E3DF5BD6_0E0A_4409_A50D_B1025AECCF43__INCLUDED_) 
#define AFX_VPNCLIENTDLG_H__E3DF5BD6_0E0A_4409_A50D_B1025AECCF43__INCLUDED_ 
 
#include "CoolControlsManager.h"	// Added by ClassView 
#include "TrayIcon.h" 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
///////////////////////////////////////////////////////////////////////////// 
// CVPNClientDlg dialog 
 
class CVPNClientDlg : public CDialog 
{ 
// Construction 
public: 
	CVPNClientDlg(CWnd* pParent = NULL);	// standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(CVPNClientDlg) 
	enum { IDD = IDD_VPNCLIENT_DIALOG }; 
	CListCtrl	m_List; 
	CString	m_status; 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CVPNClientDlg) 
	public: 
	virtual BOOL PreTranslateMessage(MSG* pMsg); 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	HICON m_hIcon; 
 
	// Generated message map functions 
	//{{AFX_MSG(CVPNClientDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	afx_msg void OnConnect(); 
	afx_msg void OnAdd(); 
	afx_msg void OnDblclkList(NMHDR* pNMHDR, LRESULT* pResult); 
	afx_msg void OnEndlabeleditList(NMHDR* pNMHDR, LRESULT* pResult); 
	afx_msg void OnDisconnect(); 
	afx_msg void OnDelete(); 
	afx_msg void OnEdit(); 
	afx_msg void OnClose(); 
	afx_msg LRESULT OnTrayNotification(WPARAM wParam,LPARAM lParam); 
	afx_msg void OnShow(); 
	afx_msg void OnExit(); 
	afx_msg void OnAbout(); 
	afx_msg	LRESULT OnHotKey(WPARAM wParam,LPARAM lParam); 
	afx_msg void OnHide(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
private: 
	CToolTipCtrl m_ToolTipCtrl; 
	void SaveConfig(); 
	CTrayIcon m_TrayIcon; 
	CCoolControlsManager m_CCManager; 
	void ReadConfig(CString filepath); 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_VPNCLIENTDLG_H__E3DF5BD6_0E0A_4409_A50D_B1025AECCF43__INCLUDED_)