win: return HTCLIENT from WM_NCHITTEST to prevent modal resize freeze#223
win: return HTCLIENT from WM_NCHITTEST to prevent modal resize freeze#223Shipi1 wants to merge 1 commit intoRustAudio:masterfrom
Conversation
|
I'm very surprised that this would be necessary. I would think that the |
It is normal for What is not normal however, is for I have tried reproducing it with the I'm going to close this PR, as the code here seems very much incorrect to me (if nothing else, this completely breaks the non-parented mode). However, @Shipi1 if you can provide more information about which plugin you're running (and what baseview version it runs on), or even better if you could provide a minimal example to reproduce the issue, I'll gladly accept a new issue with more detailed reproduction steps, where we can also discuss the best approach to fix it. 🙂 |
WM_NCHITTESTis triggered returningHTBOTTOM/HTRIGHT/HTBOTTOMRIGHTwnd_proc_inneralways returnHTCLIENTsince plugin windows are embedded and should never be user-resizable via border dragging. this tells Windows the mouse is always in the client area.