On 18 Jul 2007, at 15:30, Stan wrote:

> 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.

By the "window's frame" do you mean the window border and  
decorations? They are created by (and belong to) the window manager,  
not by fltk, so events that go to them are handled by the window  
manager... Ditto all events outside your window.

Depending on the platform you are on, it might be possible to recover  
those events in your app (erm, somehow...) but generally fltk only  
deals with those events that go to a fltk window or widget. I don't  
think there's any reliable cross-platform way to recover other events  
"external" to your window.
I wonder if the ::grab() functions might help, though? I don't know,  
but I guess not...





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

Reply via email to