On Mon Jun 16 09:47:59 2025 +0000, Zhiyi Zhang wrote:
Calling `SetFocus(hwnd)` after the window is destroyed is probably wrong. It seems better to just return without doing anything when the window is destroyed.
I did that to reduce the number of lines. SetFocus can be passed a NULL or invalid handle, but I can change it as it may look wonky.