Quote:
Originally Posted by juliansader
Could you post the code, so that we can try to check it?
To shrink or remove previously drawn GDI elements, either REAPER must redraw the underlying window, or if the window is static, you need to draw over your own GDI elements, using the original window content. The original window content can be stored in bitmap 1, combined with the rectangles in bitmap 2, and then blitted to the screen.
|
Sure
https://stash.reaper.fm/34717/Area51.lua
Try dragging around, final rectangle shape only gets updated when mouse is released.Drawing is unrelated to mouse clicks it only waits to get first coordinate from first mouse down the rest is self updating. Thats why I don't get why everything is fine when mouse is released