Created
November 26, 2012 12:18
-
-
Save tuttlem/4147919 to your computer and use it in GitHub Desktop.
Simple Window - Create window
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; create the window | |
invoke CreateWindowEx, WS_EX_OVERLAPPEDWINDOW, | |
ADDR szClassName, | |
ADDR szDisplayName, | |
WS_OVERLAPPEDWINDOW, | |
CW_USEDEFAULT, CW_USEDEFAULT, | |
CW_USEDEFAULT, CW_USEDEFAULT, | |
NULL, NULL, hInst, NULL | |
; save off the window handle | |
mov hWnd, eax | |
; show and update the window | |
invoke ShowWindow, hWnd, SW_SHOWNORMAL | |
invoke UpdateWindow, hWnd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment