On Windows:
I press the mouse button, hold it pressed, drag the mouse outside the window, and then release it.
The framework will only call OnStylusDown, without the Up event.
The framework should capture the mouse for the current window (SetCapture) and handle the WM_CAPTURECHANGED message in order to solve the problem.
Regards,
Gilad Novik