User Tools

Site Tools


windowexists_validate_window_existence_.htm
Navigation:  Advanced Topics > Clarion Language Utilities >====== WindowExists (Validate Window Existence) ====== Previous pageReturn to chapter overviewNext page

WINDOWEXISTS(windowtitle )

blk2blue.jpg

WINDOWEXISTS Verify that a WINDOW structure is active
windowtitle A string constant or variable that specifies the window name (the window's title).

WINDOWEXISTS is used to verify that a valid window exists whose window name matches the window title.

If WINDOWEXISTS succeeds (has a valid handle), the return value is TRUE (1).

If it fails, the return value is FALSE (0).

To add support for this utility to your existing applications, you need only include the CWUTIL.INC file in the Global Map section of your program:

INCLUDE('CWUTIL.INC'),ONCE

Return Data Type:     BYTE

Example:

GLO:IsMenuActive = WINDOWEXISTS('Utility Menu') !is the utility window active?

windowexists_validate_window_existence_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1