Xbasic

SYS_ID_GET Function

Syntax

Window_Handle as N = SYS_ID_GET([C window_name])

Arguments

window_name

The name of the window whose handle you wish to get.

Description

SYS_ID_GET() obtains the Window_Handle of a program that is identified by its Window_Title.

Example

Obtain the window handle for the Notepad application window.

handle = sys_id_get("Notepad - README.TXT")

Limitations

Desktop applications only.

See Also