NativeMethods.CreateWindowEx 方法
此类型具有 SecurityCriticalAttribute 特性,此特性将其限定为只能由 .NET Framework for Silverlight 类库在内部使用。使用此类型的任何成员的应用程序代码将引发 MethodAccessException。
命名空间: Microsoft.TeamFoundation.Common.Internal
程序集: Microsoft.TeamFoundation.Common(在 Microsoft.TeamFoundation.Common.dll 中)
语法
声明
Public Shared Function CreateWindowEx ( _
dwExStyle As Integer, _
lpszClassName As String, _
lpszWindowName As String, _
style As Integer, _
x As Integer, _
y As Integer, _
width As Integer, _
height As Integer, _
hWndParent As IntPtr, _
hMenu As IntPtr, _
hInst As IntPtr, _
pvParam As Object _
) As IntPtr
public static IntPtr CreateWindowEx(
int dwExStyle,
string lpszClassName,
string lpszWindowName,
int style,
int x,
int y,
int width,
int height,
IntPtr hWndParent,
IntPtr hMenu,
IntPtr hInst,
Object pvParam
)
参数
- dwExStyle
类型:System.Int32
- lpszClassName
类型:System.String
- lpszWindowName
类型:System.String
- style
类型:System.Int32
- x
类型:System.Int32
- y
类型:System.Int32
- width
类型:System.Int32
- height
类型:System.Int32
- hWndParent
类型:System.IntPtr
- hMenu
类型:System.IntPtr
- hInst
类型:System.IntPtr
- pvParam
类型:System.Object