Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 12-17-2010, 11:24 AM
Donone Donone is offline
Junior Member
 
Join Date: Mar 2007
Posts: 19
Default How to detect Mouseup while off canvas

Delphi 5 Pro
I have a canvas on which I am rubber banding. If the mouse is taken off the edge of the canvas the line following the mouse stops at that point and no longer (naturally) follows the mouse. If the mouse button is kept down all is OK, however if the mouse button is released, everything is lost. Under these conditions I will need to kill the operation but can find no way to detect that the button has been released while off the canvas. I am using WM_Mous... loop and messages with params rather than the canvas events.

Any advice please?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 11:50 PM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.