2014-11-19 00:06:40 +08:00
|
|
|
|
// JawsCtrlDlg.h : ͷ<>ļ<EFBFBD>
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
#include "Trayicon.h"
|
|
|
|
|
#include "ProcCtrl.h"
|
|
|
|
|
#include "HttpService.h"
|
|
|
|
|
#include "DialogExpand.h"
|
|
|
|
|
#include "RegRun.h"
|
|
|
|
|
#include "afxcmn.h"
|
|
|
|
|
|
|
|
|
|
// CJawsCtrlDlg <20>Ի<EFBFBD><D4BB><EFBFBD>
|
|
|
|
|
class CJawsCtrlDlg : public CDialog
|
|
|
|
|
{
|
|
|
|
|
// <20><><EFBFBD><EFBFBD>
|
|
|
|
|
public:
|
|
|
|
|
CJawsCtrlDlg(CWnd* pParent = NULL); // <20><><EFBFBD><D7BC><EFBFBD>캯<EFBFBD><ECBAAF>
|
|
|
|
|
|
|
|
|
|
// <20>Ի<EFBFBD><D4BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
enum { IDD = IDD_JAWSCTRL_DIALOG };
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV ֧<><D6A7>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ʵ<><CAB5>
|
|
|
|
|
protected:
|
|
|
|
|
HICON m_hIcon;
|
|
|
|
|
CTrayIcon m_trayIcon;
|
|
|
|
|
|
|
|
|
|
// <20><><EFBFBD>ɵ<EFBFBD><C9B5><EFBFBD>Ϣӳ<CFA2>亯<EFBFBD><E4BAAF>
|
|
|
|
|
virtual BOOL OnInitDialog();
|
|
|
|
|
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
|
|
|
|
|
afx_msg void OnPaint();
|
|
|
|
|
afx_msg HCURSOR OnQueryDragIcon();
|
|
|
|
|
afx_msg LRESULT OnTrayNotification(WPARAM uID, LPARAM lEvent);
|
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
|
public:
|
|
|
|
|
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
|
|
|
|
|
afx_msg void OnOpenMain();
|
|
|
|
|
afx_msg void OnQuit();
|
|
|
|
|
afx_msg void OnNcPaint();
|
|
|
|
|
afx_msg void OnClose();
|
|
|
|
|
private:
|
|
|
|
|
BOOL m_bShutdown;
|
|
|
|
|
public:
|
|
|
|
|
afx_msg void OnDestroy();
|
|
|
|
|
private:
|
|
|
|
|
CIPAddressCtrl m_listenIpCtrl;
|
|
|
|
|
CString m_listenIp;
|
|
|
|
|
long m_listenPort;
|
|
|
|
|
|
|
|
|
|
CProcCtrl m_procCtrl;
|
|
|
|
|
public:
|
|
|
|
|
afx_msg void OnBnClickedButtonStart();
|
|
|
|
|
afx_msg void OnBnClickedButtonStop();
|
|
|
|
|
afx_msg void OnBnClickedButtonQuit();
|
|
|
|
|
private:
|
|
|
|
|
CString m_sJawsName;
|
|
|
|
|
CString m_sJawsCtrlName;
|
|
|
|
|
CString m_httpVhostPath;
|
|
|
|
|
CString m_httpVhostDefault;
|
|
|
|
|
CString m_httpTmplPath;
|
|
|
|
|
private:
|
|
|
|
|
CString m_httpFilter;
|
|
|
|
|
UINT m_nHttpFilter;
|
|
|
|
|
|
|
|
|
|
CHttpService *m_pService;
|
|
|
|
|
public:
|
|
|
|
|
afx_msg void OnBnClickedMore();
|
|
|
|
|
private:
|
|
|
|
|
CDialogExpand m_dVerticalExpand;
|
|
|
|
|
CDialogExpand m_dHorizontalExpand;
|
|
|
|
|
void ExpandDialog(BOOL bExpand);
|
|
|
|
|
|
|
|
|
|
CRegRun m_regRun;
|
|
|
|
|
public:
|
|
|
|
|
afx_msg void OnBnClickedAutoRun();
|
|
|
|
|
};
|