testmsgdlg.h

来自「自己编的一个基于WinCE的拨号程序」· C头文件 代码 · 共 73 行

H
73
字号
// TestMsgDlg.h : header file
//

#if !defined(AFX_TESTMSGDLG_H__19489F12_C9E7_4713_8921_7724D454B39F__INCLUDED_)
#define AFX_TESTMSGDLG_H__19489F12_C9E7_4713_8921_7724D454B39F__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#include "Ras.h"

#define REFRESH_TIMER 1

/////////////////////////////////////////////////////////////////////////////
// CTestMsgDlg dialog

class CTestMsgDlg : public CDialog
{
// Construction
public:
	void RefreshConnectStatus(void);
	CTestMsgDlg(CWnd* pParent = NULL);	// standard constructor

	HANDLE mv_hEvents[5];

	// Dialog Data
	//{{AFX_DATA(CTestMsgDlg)
	enum { IDD = IDD_TESTMSG_DIALOG };
	CButton	m_autodial;
	CButton	m_open;
	CButton	m_hangup;
	CString	m_domain;
	CString	m_password;
	CString	m_username;
	CString	m_entryname;
	CString	m_rasconn;
	DWORD	m_error;
	CString	m_devname;
	DWORD	m_size;
	CString	m_constate;
	CString	m_devtype;
	//}}AFX_DATA
	void DeInit(void);

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTestMsgDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;


	// Generated message map functions
	//{{AFX_MSG(CTestMsgDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnAutoDial();
	afx_msg void OnUserDial();
	afx_msg void OnButtonHangup();
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};



//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TESTMSGDLG_H__19489F12_C9E7_4713_8921_7724D454B39F__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?