Hey,
I have a window (created with FLUID) and want to execute a task if the focus 
switches back to the window (mouse or also the keyboard).

Currently it is implemented:

My window contains a widget, in this part I'm listening to the Fl::focus() 
event method. If it gets null and switches back (contains something), i will 
know, that focus has been switched back. So, at this time i will do my 
calculations. But I only works, if you move the mouse over this particular 
widget otherwise I won't notify that the focus has been switched.

I already searched with google, but i didn't find anything. Does somybody know 
a better way to notify, when a window gets the focus with a mouse and the 
keyboard.

Thanks a lot!

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

Reply via email to