Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Win 2 API - <b>createwindow</b> create overlapped, pop-up or child window http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
CreateWindow         Create overlapped, pop-up or child window

HWND CreateWindow(lpClassName, lpWindowName, dwStyle, X, Y,
                  nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam)
LPSTR lpClassName; /* from RegisterClass or Control Class Table  */
LPSTR lpWindowName; /* Window name (shows in caption bar) */
DWORD dwStyle; /* See Window Styles table */
int X; /* position value or CW_USEDEFAULT */
int Y;
int nWidth; /* Size value or CW_USEDEFAULT */
int nHeight;
HWND hWndParent; /* or NULL for overlapped windows */
HMENU hMenu; /* Menu handle or NULL to use class menu */
HANDLE hInstance;
LPSTR lpParam; /* Message to send as part of WM_CREATE message */

          Control Classes
        |----------------|
        |    BUTTON      |
        |    EDIT        |
        |    LISTBOX     |
        |    SCROLLBAR   |
        |    STATIC      |
        +----------------+

See Also: RegisterClass Window Styles ShowWindow

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson