"The code is exactly
how I would like to write code and the algorithms used are very
efficient and well-documented."
Van T. Dinh, Microsoft MVP
|
|
Class: CXMLTreeView
Class to populate a Microsoft TreeView control with the contents of an XML file by using the XML Document Object Model (as provided through the Microsoft XML Parser components). Note: Due to Limitations of the treeview you will receive errors if the treeview node count exceeds 32767
|
Procedure Name
|
Type
|
Description
|
|
(Declarations)
|
Declarations
|
Declarations and private variables for the CXMLTreeView class
|
|
SourceFile
|
Property
|
Returns the path and name of the XML source file
|
|
Treeview
|
Property
|
Gets a pointer to the class Treeview
|
|
Class_Initialize
|
Initialize
|
Code called when the class is initialized
|
|
DOMNodeToTreeViewNode
|
Method
|
Converts the passed node to the Treeview data structure
|
|
FormatAttributes
|
Private
|
Formats string attribute data according to the node's attributes
|
|
FormatNodeString
|
Private
|
Formats a node into string data depending on its attributes
|
|
LoadTreeview
|
Method
|
Loads the XML document into the treeview
|
|
mxmlDocument_OnDataAvailable
|
Private
|
Event raised by the XML parser when data is available
|
|
mxmlDocument_OnReadyStateChange
|
Private
|
Event raised by the XML parser when the Ready State changes
|
Overview of Total Visual SourceBook
The source code in Total Visual
SourceBook includes modules and classes for Microsoft Access, Visual
Basic 6 (VB6), and Visual Basic for Applications (VBA) developers. Easily
add this professionally written, tested, and documented royalty-free code
into your applications to simplify your application development efforts.
Additional Resources
|
|