On 27 Feb 2012, at 21:46, riadh wrote:

> hi all i would like to know how can i get the mouse position in an input box :
> 
> i have load the image in a box , and then i must start the segmentation using 
> region growing so that i need to select the start pixel and put the 
> coordinate of that pixel in a label or a box
> can any one help me please


he first thing you need to do is post in the correct place: fltk.dev is for 
*development of the library* - you are asking about using the library, so 
asking over in fltk.general is much more likely to get an informative response.

The second thing you need to do is check out Erco's cheat sheet:

- http://seriss.com/people/erco/fltk

Where you will find many useful examples. Several go directly to your question, 
for example:

- http://seriss.com/people/erco/fltk/#DrawCoords
- http://seriss.com/people/erco/fltk/#ClicksOnScrollableBox

And others...


_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to