AutoPlay Media Studio 9

DialogEx.GetWndHandle

DialogEx.GetWndHandle

This is the first topic This is the last topic  

DialogEx.GetWndHandle

This is the first topic This is the last topic  

OverviewExamples

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


Learn More: Indigo Rose Software - AutoPlay Media Studio - Buy Now - Contact Us