失去焦点事件的处理(Handling of lost focus events) #1418
ZeronoFreya
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Wails isn't really designed for this use case. Could you explain more why you are trying to open a second window and patch the event loops? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我感觉是个挺常用的功能,但没找到合适的例子,自己研究了一下。
需要的库:
确保在窗口创建完成之后设置,需要获得窗口句柄(Hwnd),建议在
startup
方法中使用如果有不合适的地方,欢迎指出
Google Translate
I feel that it is a very commonly used function, but I didn't find a suitable example, so I researched it myself.
Required Libraries:
Make sure to set it after the window is created, you need to get the window handle (Hwnd), it is recommended to use it in the
startup
methodIf there is any inappropriate place, please point out
Beta Was this translation helpful? Give feedback.
All reactions