comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Multiple click region growing
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Multiple click region growing [message #63302 is a reply to message #63161] Mon, 03 November 2008 15:31 Go to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
RussellGrew wrote:
> I have done something similar by putting a while loop around the bulk
> of the processing.
>
> e.g.,
>
> while(!mouse.button ne 4) do begin
> cursor, xp, yp
> ; other assorted processing
> endwhile
>
>
> You can now click forever, or until you press the right mouse button.
> Whichever you prefer.
>
> You now need to get a bit clever about handling the multiple clicks.
>
> Enjoy.

Another option would be to put the image in a widget, and to have a
mouse click event handler that modifies the image, re-displays it and
save it... the only advantage is that you do not have to do a
right-click to stop. The disadvantage is that you have to manually close
the window....

Jean
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Threads in IDL 7.0
Next Topic: error: subscript range values of the form low:high must be >= 0, < size

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Nov 30 23:43:48 PST 2025

Total time taken to generate the page: 1.36169 seconds