Function
createWindow
corresponds to the C function Createwindow
in the Windows SDK. It has the following type:
val createWindow : {class : string, name : string, styles : window_style list, width : int, height : int, parent : hwnd, menu : word} -> hwnd
createWindow
function leaves out the parameters to CreateWindow
that specify the x and y coordinates of the window, the handle to the application instance, and the pointer to the window-creation data.