View Single Post
Old 06-17-2019, 05:40 AM   #717
nappies
Human being with feelings
 
nappies's Avatar
 
Join Date: Dec 2017
Posts: 302
Default

Sexan,
Not exactly, this JS_WindowMessage_Intercept intercepts commands in window. This does not affect on JS_Mouse_GetState. You can simply disable WM_LBUTTONDOWN when the mouse pointer is over the required part of the item(Before pressing button). Instead of switching the modifier on the fly. And in another zone, enable WM_LBUTTONDOWN.



Use this command to disable
reaper.JS_WindowMessage_Intercept(arrangewindow, "WM_LBUTTONDOWN", false)
And this to enable
reaper.JS_WindowMessage_PassThrough(arrangewindow, "WM_LBUTTONDOWN", false)
nappies is offline   Reply With Quote