Documentation
Download compressed HTML Help
     
def RanorexPython.ControlSetFocus (   hWnd  ) 

The ControlSetFocus function sets the keyboard focus to the specified window.

Parameters:
hWnd Handle to the window that will receive the keyboard input.
Returns:
If the function succeeds, the return value is the handle to the window that previously had the keyboard focus. If the hWnd parameter is invalid, the return value is 0.

Documentation based on Ranorex Version 1.5.0 - www.ranorex.com