private _CreateWindowEx ( WS_EX dwExStyle, [ lpClassName, [ lpWindowName, WS dwStyle, int x, int y, int nWidth, int nHeight, |
||
dwExStyle | WS_EX | |
lpClassName | [ | |
lpWindowName | [ | |
dwStyle | WS | |
x | int | |
y | int | |
nWidth | int | |
nHeight | int | |
hWndParent | ||
hMenu | ||
hInstance | ||
lpParam | ||
return |
public static IntPtr CreateWindowEx(WS_EX dwExStyle, string lpClassName, string lpWindowName, WS dwStyle, int x, int y, int nWidth, int nHeight, IntPtr hWndParent, IntPtr hMenu, IntPtr hInstance, IntPtr lpParam) { IntPtr intPtr = NativeMethods._CreateWindowEx(dwExStyle, lpClassName, lpWindowName, dwStyle, x, y, nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam); if (IntPtr.Zero == intPtr) { HRESULT.ThrowLastError(); } return(intPtr); }