mirror of
https://github.com/janbodnar/Windows-API-examples.git
synced 2026-08-07 18:34:45 -04:00
Update combo_box.c
This commit is contained in:
parent
c6e81319b0
commit
fef962bfec
@ -73,7 +73,6 @@ LRESULT CALLBACK WndProc(HWND hwnd, UINT msg,
|
|||||||
|
|
||||||
LRESULT sel = SendMessage(hwndCombo, CB_GETCURSEL, 0, 0);
|
LRESULT sel = SendMessage(hwndCombo, CB_GETCURSEL, 0, 0);
|
||||||
SetWindowTextW(hwndStatic, items[sel]);
|
SetWindowTextW(hwndStatic, items[sel]);
|
||||||
SetFocus(hwnd);
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user