mirror of
https://github.com/janbodnar/Windows-API-examples.git
synced 2026-07-14 10:12:48 -04:00
Update button.c
Changed button class names.
This commit is contained in:
parent
49ba9aca3f
commit
574bd1dab1
@ -37,11 +37,11 @@ LRESULT CALLBACK WndProc(HWND hwnd, UINT msg,
|
|||||||
|
|
||||||
case WM_CREATE:
|
case WM_CREATE:
|
||||||
|
|
||||||
CreateWindowW(L"button", L"Beep",
|
CreateWindowW(L"Button", L"Beep",
|
||||||
WS_VISIBLE | WS_CHILD ,
|
WS_VISIBLE | WS_CHILD ,
|
||||||
20, 50, 80, 25, hwnd, (HMENU) ID_BEEP, NULL, NULL);
|
20, 50, 80, 25, hwnd, (HMENU) ID_BEEP, NULL, NULL);
|
||||||
|
|
||||||
CreateWindowW(L"button", L"Quit",
|
CreateWindowW(L"Button", L"Quit",
|
||||||
WS_VISIBLE | WS_CHILD ,
|
WS_VISIBLE | WS_CHILD ,
|
||||||
120, 50, 80, 25, hwnd, (HMENU) ID_QUIT, NULL, NULL);
|
120, 50, 80, 25, hwnd, (HMENU) ID_QUIT, NULL, NULL);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user