GetControlFromHWND  Global

The GetControlFromHWND function retrieves the control from its window handle (HWND).

Syntax

Control Global.GetControlFromHWND(
     Integer hWnd)

Parameters

hWndHandle of the window.Required

Return value

The GetControlFromHWND function returns the control, otherwise null.

Example

Control ctrl
ctrl= GetControlFromHWND()
if ctrl
end
SECCIA Documentation - Copyright © 2001-2012 Sylvain Seccia