On Mar 7, 2007, at 2:05 PM, Andreas Schömann wrote:

> Question: How can I reliably react on clicking the border of a window?

Clicking on the border does not necessarily create any message at  
all. You may be able to pick up something platform specific using  
Fl::add_handle(), for example some kind of "raise" event.

> Another thing I don't understand: calling hide() from within
> handle(FL_HIDE) results in an endless loop: hide()->handle()->hide 
> ()...
> !? Look JoinedMinimizeWindow::handle.

Yes. FL_HIDE is set when a window is in the process of being hidden.  
Just return and your window will be gone.

Matthias

----
http://robowerk.com/


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

Reply via email to