Hello all,

I am currently using FLTK 1.1.10.

I am writing a window widget (e.g. Fl_Double_Window) and I would like it to be 
able to handle keyboard events, such as FL_KEYDOWN and FL_KEYUP, while I am 
resizing it.

I wrote my own 'handle' function for a class that inherits Fl_Double_Window 
class and tried to see which events that the function is called with while 
window is being resized. The events are either FL_UNFOCUS or FL_NO_EVENT, along 
with FL_MOVE and FL_LEAVE.

My handle function makes the call "focus(this)" if it receives an FL_UNFOCUS 
event and using the function Fl::focus(), I can confirm that the window widget 
has the keyboard focus.

So, is it possible to receive and handle keyboard events while a window is 
being resized? Do you have any suggestions?

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

Reply via email to