Recent

Author Topic: OnMouseMove is called during OnDragOver with QT  (Read 3736 times)

Ocye

  • Hero Member
  • *****
  • Posts: 518
    • Scrabble3D
OnMouseMove is called during OnDragOver with QT
« on: December 20, 2011, 03:57:09 pm »
I use a DrawGrid to drag objects onto. Gtk2 calls only OnDragOver and not OnMouseOver during drag operation. With Qt both are called which results in unintended behaviour. Tested with Linux/KDE 4.7.4.
Lazarus 1.7 (SVN) FPC 3.0.0

zeljko

  • Hero Member
  • *****
  • Posts: 1144
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: OnMouseMove is called during OnDragOver with QT
« Reply #1 on: January 09, 2012, 12:52:59 pm »
And what win32 ws says ? Does it sends both or OnDragOver only ? What Delphi does ?

Ocye

  • Hero Member
  • *****
  • Posts: 518
    • Scrabble3D
Re: OnMouseMove is called during OnDragOver with QT
« Reply #2 on: January 10, 2012, 01:01:43 pm »
I don't know how Delphi handle these messages but win32 discriminates between both like gtk2. Wouldn't it be stupid to call mouse over in case of dragging?
Lazarus 1.7 (SVN) FPC 3.0.0

 

TinyPortal © 2005-2018