/
VpnDialup2Dlg.h
54 lines (47 loc) · 1.4 KB
/
VpnDialup2Dlg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// VpnDialup2Dlg.h : header file
//
#pragma once
#include "afxwin.h"
#include "HyperLinkCtrl/HyperLinkCtrl.h"
#include "CustomMenu/CustomMenu.h"
// CVpnDialup2Dlg dialog
class CVpnDialup2Dlg : public CDialog
{
// Construction
public:
CVpnDialup2Dlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
enum { IDD = IDD_VPNDIALUP2_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedButton1();
// afx_msg void OnBnClickedCheck1();
private:
CButton m_quietModeCheckBox;
public:
afx_msg void OnClose();
afx_msg LRESULT OnDialupTray(WPARAM wParam, LPARAM lParam);
afx_msg void OnBnClickedOk();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg LRESULT OnVpnConnected(WPARAM wParam, LPARAM lParam);
private:
RUNSISI_HUST::CHyperLinkCtrl m_blog;
RUNSISI_HUST::CCustomMenu m_popupMenu;
CImageList m_imageList;
public:
afx_msg void OnPopupmenuExit();
afx_msg void OnPopupmenuMainwindow();
afx_msg void OnPopupmenuAbout();
afx_msg void OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct);
afx_msg void OnMeasureItem(int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct);
};