From 3ef188e6075649f4c72e3e7588d8966e1071f2ff Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 05 七月 2024 15:50:40 +0800 Subject: [PATCH] update .gitignore --- common/Win32Util.cpp | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/common/Win32Util.cpp b/common/Win32Util.cpp index 4c480cb..3691329 100644 --- a/common/Win32Util.cpp +++ b/common/Win32Util.cpp @@ -112,6 +112,11 @@ SetFocus(hwnd); } +bool Win32Util::hasFocus(HWND hwnd) +{ + return GetFocus() ==hwnd; +} + //键盘输入数字 -- Gitblit v1.8.0