From 6e404e6763b383eaa4402405b3b1c830e19aa46e Mon Sep 17 00:00:00 2001 From: Katayama Hirofumi MZ Date: Fri, 2 Aug 2024 13:13:45 +0900 Subject: [PATCH] improve focus of EGA console --- src/MEgaDlg.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/MEgaDlg.hpp b/src/MEgaDlg.hpp index 0d50d281..be35759a 100644 --- a/src/MEgaDlg.hpp +++ b/src/MEgaDlg.hpp @@ -204,6 +204,7 @@ class MEgaDlg : public MDialogBase g_RES_select_name = (WORD)0; g_RES_select_lang = BAD_LANG; s_bEnter = TRUE; + ::SetFocus(::GetDlgItem(hwnd, edt2)); } void OnPsh1(HWND hwnd)