Open o-3-o opened 3 months ago
After testing, not only the Modal window will be like this, but all pop-up sub-windows will be like this.
The solution is to send a WM_NCMOUSEMOVE message to the main window after ImGui_ImplWin32_DestroyWindow
Hello, thanks for reporting. Why closing the issue?
Hello, thanks for reporting. Why closing the issue?
Sorry, I see you haven't responded, so I don't think it's a mistake.
Version/Branch of Dear ImGui:
Version 1.90.5, Branch: docking (master/docking/etc.)
Back-ends:
imgui_impl_DX11.cpp + imgui_impl_Win32.cpp
Compiler, OS:
Win11 + MSVC2022
Full config/build information:
Details:
My Issue/Question:
When using multi-view to separate from the main window, if a Modal window pops up and then click to close the Modal window, if the mouse has not entered the main window during the closing process, ImGui will not update the mouse position event in the non-client area of the mouse unless the mouse is Enter the main window again!
Screenshots/Video:
Minimal, Complete and Verifiable Example code:
min examples:
https://github.com/ocornut/imgui/blob/docking/examples/example_win32_directx11/main.cpp