⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 page4.h

📁 功能十分强大的拨号程序
💻 H
字号:
///////////////////////////////////////////////////////////////////////
// If this program works, it was written by Alexander Fedorov.
// If not, I don't know who wrote it.
// mailto:lamer2000@hotmail.com
// Home Page: http://members.xoom.com/lamer2000/
// This file is part of Alexf Dialer.
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
///////////////////////////////////////////////////////////////////////

#if !defined(AFX_PAGE4_H__298DD352_F00C_11D2_9864_D86B908C7AFE__INCLUDED_)
#define AFX_PAGE4_H__298DD352_F00C_11D2_9864_D86B908C7AFE__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Page4.h : header file
//

#include "AFDialPanel.h"

/////////////////////////////////////////////////////////////////////////////
// CPage4 dialog

class CPage4 : public CPropertyPage
{
	DECLARE_DYNCREATE(CPage4)

// Construction
public:
	UINT uTimer;
	DWORD dwInitBytesSent;
	DWORD dwInitBytesRecv;
	CTime TimeBeginSession;
	CString sTimeTotalLast;
	BOOL bWindowActivated;

	BOOL InitPropertyPage();
	BOOL StartSession();
	BOOL FinishSession();
	BOOL SetStatisticData();
	CString ConvercTStoS(CTimeSpan ts);
	BOOL LoadTimeINI();
	BOOL SaveTimeINI();
	CTimeSpan ParseSavedTime(CString sss);
	CPage4();
	~CPage4();

// Dialog Data
	//{{AFX_DATA(CPage4)
	enum { IDD = IDD_DIALOG4 };
	CAFDialPanel m_PaneModem;
	CString	m_sRecv;
	CString	m_sSent;
	CString	m_sSpeed;
	CString	m_sTimeCur;
	CString	m_sTimeTot;
	CString	m_sConnectionName;
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CPage4)
	public:
	virtual BOOL OnSetActive();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CPage4)
	virtual BOOL OnInitDialog();
	afx_msg void OnDestroy();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnClean();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

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

#endif // !defined(AFX_PAGE4_H__298DD352_F00C_11D2_9864_D86B908C7AFE__INCLUDED_)

⌨️ 快捷键说明

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