PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Bug with Edge - Stylus

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
Hi Gilad,

Thanks for the heads up, we will fix this for 3.00.

In the meantime you can implement your own OnMessage callback in the Edge framework to handle this message, and send a WM_LBUTTONUP message when it happens.

More information about this callback can be found here:
http://www.edgelib.com/index.php?node=1017