I’ve built a custom control, and I’d like to allow people to click and drag on my control just as if they were dragging on the window title bar. What is the best way to do this?
So far I’ve been unsuccessful at leveraging the mouse down, up, and move events to decipher when the window needs to be moved.
In addition to my other answer, you can do this manually in a Control like this:
EDIT: Tested and fixed – this now actually works.