Login  Register

flags in getCursorLoc

Posted by Vincenzo Della Mea on Feb 03, 2006; 2:04pm
URL: http://imagej.273.s1.nabble.com/flags-in-getCursorLoc-tp3703823.html

Dear all,
I'm trying to use the getCursorLoc(x,y,z,flags) function to individuate  
some location in the image, differentiating between left click and  
leftclick+shift; however, something strange occurs, as when I left  
click, I obtain a flag=16, while if I just press shift without  
clicking, I obtain 17. Furtermore, after 17 remains still in the pipe  
even if I release the shift key.
Any idea?

Thanks,
Vincenzo
------------------------------------------------------------------------
------------------------
-----------------------------  Vincenzo Della Mea, PhD  
------------------------------
------------ Medical Informatics, Telemedicine and e-health Lab  
------------
Dept. of Mathematics and Computer Science - University of Udine, Italy
-----------------------  http://www.dimi.uniud.it/dellamea/ 
-------------------------
------------------------------- http://mitel.dimi.uniud.it 
---------------------------------