DragDetect function user32
Captures the mouse and tracks its movement until the user releases the left button, presses the ESC key, or moves the mouse outside the drag rectangle around the specified point.
BOOL DragDetect(
HWND hwnd,
POINT pt);
Implementation
int DragDetect(int hwnd, POINT pt) => _DragDetect(hwnd, pt);