Nevron.Interop.Win32 Namespace / NUser32 Class / CreateWindowEx Method / CreateWindowEx(UInt32,String,String,UInt32,Int32,Int32,Int32,Int32,IntPtr,IntPtr,IntPtr,IntPtr) Method


CreateWindowEx(UInt32,String,String,UInt32,Int32,Int32,Int32,Int32,IntPtr,IntPtr,IntPtr,IntPtr) Method
Syntax
'Declaration
 
Public Overloads Shared Function CreateWindowEx( _
   ByVal dwExStyle As System.UInteger, _
   ByVal lpszClassName As System.String, _
   ByVal lpszWindowName As System.String, _
   ByVal style As System.UInteger, _
   ByVal x As System.Integer, _
   ByVal y As System.Integer, _
   ByVal width As System.Integer, _
   ByVal height As System.Integer, _
   ByVal hwndParent As System.IntPtr, _
   ByVal hMenu As System.IntPtr, _
   ByVal hInst As System.IntPtr, _
   ByVal pvParam As System.IntPtr _
) As System.IntPtr
 
'Usage
 
Dim dwExStyle As System.UInteger
Dim lpszClassName As System.String
Dim lpszWindowName As System.String
Dim style As System.UInteger
Dim x As System.Integer
Dim y As System.Integer
Dim width As System.Integer
Dim height As System.Integer
Dim hwndParent As System.IntPtr
Dim hMenu As System.IntPtr
Dim hInst As System.IntPtr
Dim pvParam As System.IntPtr
Dim value As System.IntPtr
 
value = NUser32.CreateWindowEx(dwExStyle, lpszClassName, lpszWindowName, style, x, y, width, height, hwndParent, hMenu, hInst, pvParam)

Parameters

dwExStyle
lpszClassName
lpszWindowName
style
x
y
width
height
hwndParent
hMenu
hInst
pvParam
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