GetWindowCaption

GetWindowCaption(Num)

Description:
Returns the caption from the Window title bar) of the Window with the handle specified.  

To obtain the handle of the current top level window use the GetFocusedWindowHandle function.

Parameter Description

(no parameters)

Example:

Sub Main
MsgBox GetDesktopFolder()
End
Sub

See Also:

GetFocusedWindowHandle