Visual Basic Extensibility Reference

Caption Property

See Also   Example   Applies To   Specifics

Returns a String containing the title of the active window. Read-only.

Remarks

The title of the active window is the text displayed in the window's title bar.