winframe class : Exists getter

Description

Gets a value that indicates whether a window exists.

Syntax

winframeInstance.Exists

Arguments

None

Return value

ClassDescription
boolA value that indicates whether a window exists.

Sample code

1:

wfpool wfp;

2:

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

3:

bool exitst = winframeIns.Exists;

Notes

If a window exists, returns true. Otherwise, returns false. When a window is uninitialized, returns false.

Links for reference

None.

Copyright © Cooker All rights reserved.