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

📄 webtestctl.h

📁 vc实现对网页中的各种文本框进行测试
💻 H
字号:
#if !defined(AFX_WEBTESTCTL_H__A8FFFC8E_5502_40DD_9229_CF56E378C57B__INCLUDED_)
#define AFX_WEBTESTCTL_H__A8FFFC8E_5502_40DD_9229_CF56E378C57B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

// WebtestCtl.h : Declaration of the CWebtestCtrl ActiveX Control class.

/////////////////////////////////////////////////////////////////////////////
// CWebtestCtrl : See WebtestCtl.cpp for implementation.

class CWebtestCtrl : public COleControl
{
	DECLARE_DYNCREATE(CWebtestCtrl)

// Constructor
public:
	CWebtestCtrl();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CWebtestCtrl)
	public:
	virtual void OnDraw(CDC* pdc, const CRect& rcBounds, const CRect& rcInvalid);
	virtual void DoPropExchange(CPropExchange* pPX);
	virtual void OnResetState();
	//}}AFX_VIRTUAL

// Implementation
protected:
	~CWebtestCtrl();

	SHDocVw::IShellWindowsPtr m_spSHWinds;
	DECLARE_OLECREATE_EX(CWebtestCtrl)    // Class factory and guid
	DECLARE_OLETYPELIB(CWebtestCtrl)      // GetTypeInfo
	DECLARE_PROPPAGEIDS(CWebtestCtrl)     // Property page IDs
	DECLARE_OLECTLTYPE(CWebtestCtrl)		// Type name and misc status

// Message maps
	//{{AFX_MSG(CWebtestCtrl)
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

// Dispatch maps
	//{{AFX_DISPATCH(CWebtestCtrl)
	//}}AFX_DISPATCH
	DECLARE_DISPATCH_MAP()

	afx_msg void AboutBox();

// Event maps
	//{{AFX_EVENT(CWebtestCtrl)
	//}}AFX_EVENT
	DECLARE_EVENT_MAP()

// Dispatch and event IDs
public:
	void GetDate();
	int modify(const char *nodename,char *nodeValue);
	int CreateXMLFile(char *xml_file_name);
	enum {
	//{{AFX_DISP_ID(CWebtestCtrl)
	//}}AFX_DISP_ID
	};
};

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

#endif // !defined(AFX_WEBTESTCTL_H__A8FFFC8E_5502_40DD_9229_CF56E378C57B__INCLUDED)

⌨️ 快捷键说明

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