CreateWindowW () function

 

Function prototype is:

The function using the registered window class to create a window, and returns the handle of the window

 

HWND CreateWindow(
    LpClassName LPCTSTR,     // window class name, can also be a control name 
    LPCTSTR lpWindowName,     // program title, the text can also be displayed in the space above the 
    DWORD dwStyle,             // window style or window style 
    int x,                     // initialize the x coordinate 
    int the y- ,                     // initializes y coordinate 
    int nWidth,             // initialize width 
    int nHeight,             // initialize height; 
    the HWND hWndParent,         // parent window handle 
    the hMENU hMenu,             // window menu handle, if a child window, the window may be sub-ID 
    hANDLE hlnstance ,         // instance handle
    LpParam LPVOID)         // creation parameters

The function returns the window handle is the handle of the wear member,

Guess you like

Origin www.cnblogs.com/damoncc/p/12063580.html