XML_TestDlg.h
资源名称:VC++XML.rar [点击查看]
上传用户:testhan
上传日期:2013-10-13
资源大小:49k
文件大小:1k
源码类别:
xml/soap/webservice
开发平台:
Visual C++
- // XML_TestDlg.h : 头文件
- //
- #pragma once
- #include "afxcmn.h"
- //#import "C:\windows\system32\msxml.dll"
- // CXML_TestDlg 对话框
- class CXML_TestDlg : public CDialog
- {
- // 构造
- public:
- CXML_TestDlg(CWnd* pParent = NULL); // 标准构造函数
- // 对话框数据
- enum { IDD = IDD_XML_TEST_DIALOG };
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
- protected:
- MSXML::IXMLDOMDocumentPtr m_plDomDocument;
- MSXML::IXMLDOMElementPtr m_pDocRoot;
- public:
- HTREEITEM DisplayChild(HTREEITEM hParent, MSXML::IXMLDOMNodePtr pChild);
- void DisplayChildren(HTREEITEM hParent, MSXML::IXMLDOMNodePtr pParent);
- // 实现
- protected:
- HICON m_hIcon;
- // 生成的消息映射函数
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- DECLARE_MESSAGE_MAP()
- public:
- CString m_strDocName;
- CString m_strDocContents;
- afx_msg void OnBnClickedButton1();
- BOOL m_bTreeView;
- afx_msg void OnBnClickedCheck1();
- CTreeCtrl m_TreeContents;
- };