Skip to content

Commit

Permalink
Fixed bug where you could type in the log window.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasecoulls committed Oct 15, 2023
1 parent 21a84c0 commit 9f6588c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LogBazooka/LogBazooka.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ void CreateUI()
// Add the log textbox.
hLogEdit = CreateWindowEx(
WS_EX_CLIENTEDGE, L"EDIT", L"",
WS_CHILD | WS_VISIBLE | WS_VSCROLL | ES_MULTILINE | ES_AUTOVSCROLL,
WS_CHILD | WS_VISIBLE | WS_VSCROLL | ES_MULTILINE | ES_READONLY | ES_AUTOVSCROLL,
10, 40, 500, 500,
hThisWnd, NULL, hInst, NULL);
SendMessage(hLogEdit, WM_SETFONT, (WPARAM)hLogFont, TRUE);
Expand Down

0 comments on commit 9f6588c

Please sign in to comment.