Example #1
0
 public static extern 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);
Example #2
0
 public static extern IntPtr CreateWindowExW(
     UInt32 dwExStyle,
     [MarshalAs(UnmanagedType.LPWStr)]
     string lpClassName,
     [MarshalAs(UnmanagedType.LPWStr)]
     string lpWindowName,
     WS dwStyle,
     Int32 x,
     Int32 y,
     Int32 nWidth,
     Int32 nHeight,
     IntPtr hWndParent,
     IntPtr hMenu,
     IntPtr hInstance,
     IntPtr lpParam
     );
Example #3
0
 public static extern int GetWindowLong(IntPtr hWnd, WS nIndex);
Example #4
0
 public static extern bool AdjustWindowRectEx(ref RECT lpRect, WS dwStyle,
    bool bMenu, WS_EX dwExStyle);