You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to modify this condition if uMsg == WM_LBUTTONUP and control == pLastMouseButtonDownControl
This would allow to trigger a mousebuttonup event on a different control so that a behavior like dragging elements or transference of attributes could be implemented
Hi thank you for your interest I was misunderstanding your code, but I could find the real problem if you return PWndProcResult_True or return PWndProcResult_False at the end of a Mouse ButtonDown message windows will allow a mouseup event to be handled correctly on another control (my problem was that a mouseup event was triggered only on the same control mousedown was triggered)
Example try dragging a button into another button:
Would it be possible to modify this condition
if uMsg == WM_LBUTTONUP and control == pLastMouseButtonDownControl
This would allow to trigger a mousebuttonup event on a different control so that a behavior like dragging elements or transference of attributes could be implemented
https://github.com/simonkrauter/NiGui/blob/master/src/nigui/private/windows/platform_impl.nim#L1282
The text was updated successfully, but these errors were encountered: