I can confirm that also under MinGW everything works fine, but compiled
with VC2005 I am getting these pesky extra FL_LEAVE events, ie when
dragging the cursor inside the widget.
Very odd - and it seems to depend on the compiler.
R.
PS: No, I do not use point-to-focus.
Albrecht Schlosser wrote:
>
> I can confirm what Ian wrote: it works for me with gcc (cygwin
> -mno-cygwin) on WinXP with FLTK 1.3 as well as 1.1.9 without problems,
> compiled with
>
> fltk-config --use-gl --compile fl_leave.cxx
>
> (see attached file fl_leave.cxx). I added a counter ("in"), and I get
> values of 0 and 1 only, even if I drag the mouse.
>
> Is there any chance that another application steals the focus (this can
> maybe generate FL_LEAVE events). Do you have "point-to-focus" enabled?
> (Yes, it is possible in WinXP, I know someone who uses it).
>
> Albrecht
>
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk