Hi guys. I am dealing with a problem similar to Emma, intended to solve with Matts answer:
"WindowKeyPressFcn not working in zoom/pan mode"
https://groups.google.com/d/msg/comp.soft-sys.matlab/2MemfmYOqcE/HZlJiuFSY9AJ
but I am still having the problems that the character pressed is echoed or forwarded to the command window. Is there any way to avoid this echo and consequent lost of focus of the figure ?
As an additional problem, is there a way of trapping CTRL, SHIFT or ALT key as the WindowKeyPressFcn figure's callback ? I think that the listener is not able to get these keystrokes.
Thanks in advance !
M.
"WindowKeyPressFcn not working in zoom/pan mode"
https://groups.google.com/d/msg/comp.soft-sys.matlab/2MemfmYOqcE/HZlJiuFSY9AJ
but I am still having the problems that the character pressed is echoed or forwarded to the command window. Is there any way to avoid this echo and consequent lost of focus of the figure ?
As an additional problem, is there a way of trapping CTRL, SHIFT or ALT key as the WindowKeyPressFcn figure's callback ? I think that the listener is not able to get these keystrokes.
Thanks in advance !
M.