I’m looking for either an open source library or a code block that can be used on any Windows client area to draw a selection rectangle. It has to be fast so that when the rectangle is sized the screen does not flicker. And the rectangle should be able to be rotated as part of the selection process. I.e. grab the edges to size the rectangle, grab the corners to rotate the rectangle?
I didn’t find the right solution from the Internet.