Core Function ControlGetHandle

From Sputnik Wiki
Jump to: navigation, search
ControlGetHandle ( <title>, <text>, <controlID> )

Contents

Description

Retrieves the internal handle of a control.

Parameters

Title

The title of the window to access.

Text

The text of the window to access.

controlID

The control to interact with.

Return Value

Success: Returns the handle (HWND) value.

Failure: Returns 0 (@PTRZero).

Remarks

None.

Example

$handle = ControlGetHandle("Untitled - Notepad", "", "Edit1");
println($handle);
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox