Hi,

I've a simple question which I'm sure has been answered many times before, but 
I could not find a working solution.

I've a main window which has a slider and a button on it. When clicked on the 
button, it opens a new (non-child, non-modal) window. What I would like to 
achieve is to send the keyboard events to this window. But the events seems to 
go to the slider on the other window.

I tried several things including returning non-zero from the handler of the new 
window for FL_KEYDOWN events to no avail.

I would appreciate any help on this problem.

PS: If I click the new window, the events seems to go to the new window as I 
want. But I believe it must be possible to achieve that without clicking the 
window first.

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

Reply via email to