> Hi all,
> In the following, I see PUSH events when the mouse is
> clicked within the main window or the sub window, but
> nowhere else -- not in either window's frame or elsewhere
> on the screen.  I can't figure out why.  Any assistance
> appreciated.
> 
> TIA,
> Stan

If I understainded this, you would like to check events 'outside' your
window ?

Fltk can't handle events outside it's own main window out
of the box due many reasons; one of them are portability and different
view of graphic context representation (X11 and win32 as examples).

On other hand, if you want to receive events that fltk does not
understainds and skips, you can use Fl::add_handler(func), where func is
in the form: 'int func(int event)'. You will then get a system specific
events, and from there you handle it on specific way. And here story
goes outside fltk bounds :-).

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

Reply via email to