CreateModalWindow(IntPtr,Object,Double,Double) Method
See Also 
SourceCode.Framework Namespace > IWizardService Interface > CreateModalWindow Method : CreateModalWindow(IntPtr,Object,Double,Double) Method



parentHandle
The container object's handle
content
The content to be displayed
width
height

Glossary Item Box

Creates a IModalWindow instance. The window will automatically size to content

Syntax

Visual Basic (Declaration) 
Overloads Function CreateModalWindow( _
   ByVal parentHandle As IntPtr, _
   ByVal content As Object, _
   ByVal width As Double, _
   ByVal height As Double _
) As IModalWindow
Visual Basic (Usage)Copy Code
Dim instance As IWizardService
Dim parentHandle As IntPtr
Dim content As Object
Dim width As Double
Dim height As Double
Dim value As IModalWindow
 
value = instance.CreateModalWindow(parentHandle, content, width, height)

Parameters

parentHandle
The container object's handle
content
The content to be displayed
width
height

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also