XML与TreeCtrl

lian80629 2002-11-28 10:20:22
做一个XML编辑器,用一个TreeCtrl控件与XML的树型结构对应

现在我想知道,如何在点击一个TreeCtrl中Item的时候得到对应的XML节点

...全文
25 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
wltsui 2002-11-28
  • 打赏
  • 举报
回复
gz
蒋晟 2002-11-28
  • 打赏
  • 举报
回复
在ItemData里面保存节点的IDispatch接口
是一个构造xml树的代码,用c++的写的。AppWizard has created this SLT application for you. This application not only demonstrates the basics of using the Microsoft Foundation classes but is also a starting point for writing your application. This file contains a summary of what you will find in each of the files that make up your SLT application. SLT.dsp This file (the project file) contains information at the project level and is used to build a single project or subproject. Other users can share the project (.dsp) file, but they should export the makefiles locally. SLT.h This is the main header file for the application. It includes other project specific headers (including Resource.h) and declares the CSLTApp application class. SLT.cpp This is the main application source file that contains the application class CSLTApp. SLT.rc This is a listing of all of the Microsoft Windows resources that the program uses. It includes the icons, bitmaps, and cursors that are stored in the RES subdirectory. This file can be directly edited in Microsoft Visual C++. SLT.clw This file contains information used by ClassWizard to edit existing classes or add new classes. ClassWizard also uses this file to store information needed to create and edit message maps and dialog data maps and to create prototype member functions. res\SLT.ico This is an icon file, which is used as the application's icon. This icon is included by the main resource file SLT.rc. res\SLT.rc2 This file contains resources that are not edited by Microsoft Visual C++. You should place all resources not editable by the resource editor in this file.

3,055

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC HTML/XML
社区管理员
  • HTML/XML社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧