After spending so many days, finally I got it. Unintentionally I pressed the 
shortcut key when the menu was opened. It worked. So, the issue was menu was 
not selected or opened.
But this seems awkward, anytime and anywhere shortcut keys should work. I am 
using OpenGL, the full window is covered with opengl display except the upper 
part of menu.
Shortcut key does not work until I open that specific menu in which the key is 
specified.
For example, the menu "FILE" has New(Ctrl+n) and Save(Ctrl+s). Ctrl+n or Ctrl+s 
do not work until I open the "FILE" menu.

What is this strange issue and how to solve it ?





> On 08/30/12 00:03, Furqan wrote:
> > {"&Close    ",FL_CTRL+'X',(Fl_Callback *) window_cb},
>
>       I think because of the uppercase 'X', it implies FL_SHIFT,
>       ie. FL_CTRL+FL_SHIFT+'x'
>
>       Probably hitting ctrl-shift-X will trigger the shortcut the way you 
> have it coded.
>
>       Assuming you don't want shift, use 'x' instead.

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

Reply via email to