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...")
 
(Return Value)
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 ===

Revision as of 22:45, 25 August 2013

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