예제 #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
     );