The GetDialogFromHWND function retrieves the dialog from its window handle (HWND).
Syntax
Dialog Global.GetDialogFromHWND(
Integer hWnd)
Integer hWnd)
Parameters
| hWnd | Handle of the window. | Required |
|---|
Return value
The GetDialogFromHWND function returns the dialog, otherwise null.
Example
Dialog dlg
dlg = GetDialogFromHWND()
if dlg
end
dlg = GetDialogFromHWND()
if dlg
end