DialogEx.GetWndHandle

number DialogEx.GetWndHandle (

)

Example 1

handle = DialogEx.GetWndHandle();

Gets the numeric window handle for the current dialog window and stores it in the variable "handle."

Example 2

-- Get the current dialog's window handle
nHandle = DialogEx.GetWndHandle();

-- Specify the path to use
sMaskFilePath = _SourceFolder .. "\\Masks\\Mask1.jpg";

-- Apply the mask to the window
Window.SetMask(nHandle, sMaskFilePath, true, 0);
 

Applies the "Mask1.jpg" window mask to the current dialog window.

See also:  Related Actions