Specifies the text of the window’s caption bar.
|A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
The property is applied to the following objects:
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
A string that specifies the window caption.
Note that the window caption is not a unique identifier of the window; for that purpose, use the
To view an example that demonstrates how to use the
WndCaption property, see Naming Windows.