winframe class : WindowTitle getter

Description

Gets a title of a window.

Syntax

winframeInstance.WindowTitle

Arguments

None

Return value

ClassDescription
stringA title of a window.

Sample code

1:

wfpool wfp;

2:

winframe winframeIns = wfp.GetActive(); // Gets a window that has focus.

3:

string title = winframeIns.WindowTitle;

Notes

This getter returns an empty string if a window has no title.

Links for reference

None.

Copyright © Cooker All rights reserved.