Quote:
|
Originally Posted by ivan
you must code it by yourself... nobody will do it for you.
|
What the heck has happened to this forum? I don't see him asking for you to code it anywhere... just for some help.
Paradox: you'll need to capture the WM_MOUSEDOWN, WM_MOUSEMOVE and WM_MOUSEUP events, and then find out how far the mouse moves by, well... I can't quite remember, but I'm pretty sure it was easy enough

. Anyway, basically, what you do is set a flag to
true in WM_MOUSEDOWN and
false in WM_MOUSEUP, and then measure the distance travelled and use some weird function to move the window. I can't quite remember much beyond that, having abandoned Windows C++ programming in favour of C#, but Google should get you the rest of the way.