GetDialogFromHWND  Global

The GetDialogFromHWND function retrieves the dialog from its window handle (HWND).

Syntax

Dialog Global.GetDialogFromHWND(
     Integer hWnd)

Parameters

hWndHandle of the window.Required

Return value

The GetDialogFromHWND function returns the dialog, otherwise null.

Example

Dialog dlg
dlg = GetDialogFromHWND()
if dlg
end
SECCIA Documentation - Copyright © 2001-2012 Sylvain Seccia