Core Function ControlGetFocus

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
UberFoX (Talk | contribs)
(Created page with "<pre> ControlGetFocus ( <title>, <text> ) </pre> === Description === Returns the ControlRef# of the control that has keyboard focus within a specified window. === Parameters =...")
Newer edit →

Revision as of 10:42, 27 November 2011

ControlGetFocus ( <title>, <text> )

Contents

Description

Returns the ControlRef# of the control that has keyboard focus within a specified window.

Parameters

Title

The title of the window to access.

Text

The text of the window to access.

Return Value

Success: Returns the ClassNameNN of the control that has keyboard focus within a specified window. Failure: Returns a blank string and sets @error to 1 if window is not found.

Remarks

None.

Example

$a = ControlGetFocus("Untitled - Notepad");
MsgBox($a);
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox