Core Function ControlGetHandle

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "<pre> ControlGetHandle ( <title>, <text>, <controlID> ) </pre> === Description === Retrieves the internal handle of a control. === Parameters === ==== Title ==== The title o...")
 
m (1 revision)
 
(2 intermediate revisions by one user not shown)
Line 25: Line 25:
 
Success: Returns the handle (HWND) value.
 
Success: Returns the handle (HWND) value.
  
Failure: Returns empty string.
+
Failure: Returns 0 (@PTRZero).
  
 
=== Remarks ===
 
=== Remarks ===

Latest revision as of 12:37, 14 June 2015

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