Remote TreeViewFunctions for working with remote TreeView controls This is set of function to work with TreeViews controled by third party process. This process requires some data to be injected into remote process address space thus this library depends on Remote Buffer module. Summary
FindDrive
Find the drive item in “My Computer” branch Parameters
ReturnsHandle to the item that display’s drive letter RemarksThis is specific to Explorer’s TreeView and ther system windows wich use the same presentation of file system hierarchy (like Browse For Folders standard dialog and similar). SetPath
Set the location of selected item in the TreeView hierarchy Parameters
Returnstrue on success false on failure RemarksPath is not the file system path. If remote TreeView item has N ancestors Pi, its path will be TP1\TP2\TP3...\TPN\Titem, where TP signifies text of the item P About
|
Initialization function
TV_Initialise( hwParent, hwTV )
Find the drive item in “My Computer” branch
TV_FindDrive( drive )
Set the location of selected item in the TreeView hierarchy
TV_SetPath( path )
Select item
TV_Select( item )
Expand item
TV_Expand( item, waitTime = 50 )
Find child by its text.
TV_FindChild( p_start, p_txt, p_mode = )
Get the text of the item with given handle
TV_GetTxt( item )