mirror of
https://github.com/janbodnar/Windows-API-examples.git
synced 2024-11-24 11:25:30 +00: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:
|
||||
|
||||
CreateWindowW(L"button", L"Beep",
|
||||
CreateWindowW(L"Button", L"Beep",
|
||||
WS_VISIBLE | WS_CHILD ,
|
||||
20, 50, 80, 25, hwnd, (HMENU) ID_BEEP, NULL, NULL);
|
||||
|
||||
CreateWindowW(L"button", L"Quit",
|
||||
CreateWindowW(L"Button", L"Quit",
|
||||
WS_VISIBLE | WS_CHILD ,
|
||||
120, 50, 80, 25, hwnd, (HMENU) ID_QUIT, NULL, NULL);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user