View Single Post
Old 10-28-2018, 07:52 AM   #83
Human being with feelings
Join Date: Jul 2009
Posts: 2,372

Originally Posted by Sexan View Post
ah,shame..... Just one more question, when drawing rectangle dynamically it does not refresh if you resize (to lower number) until the mouse is released.View is updated only if the rectangle has expanded,but not if its shrinked. Is this my error somewhere?
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.

To see how SWS coded their marquee "Zoom tool", check out

Originally Posted by amagalma View Post
-- Could a MOD make this thread sticky please? --

Originally Posted by mpl View Post
Is it possible to port/simulate "Save file window" like a GetUserFileNameForRead() with this?
I do not quite understand - could you explain a bit more?
juliansader is offline   Reply With Quote