2010/1/2 Felipe Monteiro de Carvalho <[email protected]>:
>
> 1 - Use MouseMove, MouseUp, MouseDown to emulate this, but in my Mac
> it sometimes looses track of MouseMove because the mouse was faster
> then the window, so not 100% good

Normally that means you did not capture the mouse. Both XLib and GDI
have "mouse capture" API's. I would image Mac does to. In fpGUI I had
problems you describe, and enabling mousecapture/mouserelease solved
it - no matter how fast you move the mouse.


> 2 - Use platform-specific APIs. It's easy in Windows and we already
> have an idea in X11, but nothing yet in Carbon.

In X11 it's possible without programmer intervension. Alt+Click
anywhere on any window and then move the mouse without releasing the
buttons. I think 99.9% of window managers support this.


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to