Re: Strange behaviour in mouse up



pri_sama wrote:
  I have added a line to invoke 'notepad.exe' ( using shell execute )in
mouse down event of a TShape component. When I press left mouse button,
even if I don't release mouse button, mouse up event is fired. Can you
please explain this behaviour ? ( Delphi 5 )

AFAICS, focus is switched to the new notepad instance, so Windows tells your program that the mouse has lifted from your control.


Cheers,
Nicholas Sherlock
.


Quantcast