GetSelectedNode Method
Topic Last Modified: 2006-06-13
The GetSelectedNode method returns a TNode object of the selected node.
Applies To
Syntax
Function GetSelectedNode() As TNode
HRESULT GetSelectedNode
(
_TNode** pVal
);
Parameters
- pVal
Returned reference to a _TNode Interface.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
Use a TNode object to get URLs and display names. This method returns nothing if a node is not selected.
Example
The following example displays the URL of a selected node.
Dim Nd As TNode
Set Nd = EXTV1.GetSelectedNode
MsgBox Nd.url