-rw-r--r-- | HostProperties.h | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/HostProperties.h b/HostProperties.h new file mode 100644 index 0000000..c59336b --- a/dev/null +++ b/HostProperties.h | |||
@@ -0,0 +1,61 @@ | |||
1 | // HostProperties.h : header file | ||
2 | // | ||
3 | |||
4 | ///////////////////////////////////////////////////////////////////////////// | ||
5 | // CHostProperties dialog | ||
6 | |||
7 | struct CPingyHost; | ||
8 | class CHostProperties : public CDialog | ||
9 | { | ||
10 | // Construction | ||
11 | public: | ||
12 | virtual BOOL PreTranslateMessage(MSG* pMsg); | ||
13 | void SetHost(CPingyHost *host); | ||
14 | CPingyHost * host; | ||
15 | CHostProperties(CWnd* pParent = NULL); // standard constructor | ||
16 | |||
17 | // Dialog Data | ||
18 | //{{AFX_DATA(CHostProperties) | ||
19 | enum { IDD = IDD_PROPS }; | ||
20 | CStaticm_StateCtl; | ||
21 | CStaticm_URLCaptionCtl; | ||
22 | CStaticm_URLCtl; | ||
23 | CStaticm_TimesCaptionCtl; | ||
24 | CStaticm_TimesCtl; | ||
25 | CStaticm_StatusCaptionCtl; | ||
26 | CStaticm_StatusCtl; | ||
27 | CButtonm_OpenURLCtl; | ||
28 | CStaticm_LossCaptionCtl; | ||
29 | CStaticm_LossCtl; | ||
30 | CStaticm_IPCaptionCtl; | ||
31 | CStaticm_IPCtl; | ||
32 | CStaticm_HostCaptionCtl; | ||
33 | CStaticm_HostCtl; | ||
34 | CStringm_Host; | ||
35 | CStringm_IP; | ||
36 | CStringm_Loss; | ||
37 | CStringm_Status; | ||
38 | CStringm_Times; | ||
39 | CStringm_URL; | ||
40 | //}}AFX_DATA | ||
41 | |||
42 | |||
43 | // Overrides | ||
44 | // ClassWizard generated virtual function overrides | ||
45 | //{{AFX_VIRTUAL(CHostProperties) | ||
46 | protected: | ||
47 | virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support | ||
48 | //}}AFX_VIRTUAL | ||
49 | |||
50 | // Implementation | ||
51 | protected: | ||
52 | CToolTipCtrl m_tooltip; | ||
53 | |||
54 | // Generated message map functions | ||
55 | //{{AFX_MSG(CHostProperties) | ||
56 | virtual BOOL OnInitDialog(); | ||
57 | afx_msg void OnOpenurl(); | ||
58 | afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo); | ||
59 | //}}AFX_MSG | ||
60 | DECLARE_MESSAGE_MAP() | ||
61 | }; | ||