Method where developer will write custom code to perform the tool's task.
The following code sample demonstrates how the IMMTreeViewToolEx::ExecuteEx method may be implemented.
Visual Basic |
Copy Code |
Private Function IMMTreeViewToolEx_ExecuteEx(ByVal vSelection As Variant) As Boolean
Dim pCol As Collection
Set pCol = vSelection
Dim pListItem As ID8ListItem
Set pListItem = pCol.Item(1)
If Not Typeof pListItem Is IMMPxNode Then Exit Function
Dim pPxNode As IMMPxNode
Set pPxNode = pListItem
IMMTreeViewToolEx_ExecuteEx = InternalExecute(pPxNode)
End Function |
|
Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)
Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.