[Lazarus] Purpose of MouseCapture?

Paul Ishenin webpirat at mail.ru
Sun Jan 9 18:23:52 CET 2011


09.01.2011 21:27, Hans-Peter Diettrich wrote:
>
> Since a DragManager has no HWND and cannot capture the mouse itself, a 
> safe implementation would redirect all mouse and keyboard events to an 
> dragging DragManager immediately, instead of delivering the events to 
> the target control, in the hope that it will *in any case* forward the 
> messages to the DragManager.
When you drag from one window to another the space between windows is 
not owned by your application and therefore nobody forward messages to 
the drag manager.

Best regards,
Paul Ishenin




More information about the Lazarus mailing list