Пример #1
0
 public static HWND CreateWindow(
     [In, Optional] LPWSTR lpClassName,
     [In, Optional] LPWSTR lpWindowName,
     [In] WS dwStyle,
     [In] int X,
     [In] int Y,
     [In] int nWidth,
     [In] int nHeight,
     [In, Optional] HWND hWndParent,
     [In, Optional] HMENU hMenu,
     [In, Optional] HINSTANCE hInstance,
     [In] void *lpParam
     )
 {
     return(CreateWindowEx(
                (WS_EX.LEFT | WS_EX.LTRREADING | WS_EX.LEFTSCROLLBAR),
                lpClassName,
                lpWindowName,
                dwStyle,
                X,
                Y,
                nWidth,
                nHeight,
                hWndParent,
                hMenu,
                hInstance,
                lpParam
                ));
 }
Пример #2
0
 public static extern HWND CreateWindowEx(
     [In] WS_EX dwExStyle,
     [In, Optional] LPWSTR lpClassName,
     [In, Optional] LPWSTR lpWindowName,
     [In] WS dwStyle,
     [In] int X,
     [In] int Y,
     [In] int nWidth,
     [In] int nHeight,
     [In, Optional] HWND hWndParent,
     [In, Optional] HMENU hMenu,
     [In, Optional] HINSTANCE hInstance,
     [In] void *lpParam
     );
Пример #3
0
 public static extern BOOL UnregisterClass(
     [In] LPWSTR lpClassName,
     [In, Optional] HINSTANCE hInstance
     );