<div>Yes, I did consider that. The problem is that I only want to divert the up/down arrow keys, all other keypresses should be handled by whatever control has the focus. I understand this kind of re-wiring is usually surprising for the user but in this case the user (
i.e. me) needs things to work in a peculiar way.</div>
<div><span class="gmail_quote">On 1/27/06, <b class="gmail_sendername">Robby Findler</b> <<a href="mailto:email@example.com">firstname.lastname@example.org</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Have you considered just setting the focus to the listbox instead? I<br>believe that will fit better with other apps (ie, be less confusing
<br>to the user).<br><br>Robby<br><br>On Jan 27, 2006, at 10:32 AM, pedro pinto wrote:<br><br>> Hi there,<br>><br>> I have a dialog in which I would like to direct all arrow key<br>> events to a specific control (a list-box). I have been able to
<br>> intercept keyboard events by overriding the dialogs on-subwindow-<br>> char but I am not sure how to forward them to the list box (I do<br>> not want to mess with the current input focus).<br>><br>> Is there a clean way to do this?
<br>><br>> Thanks in advance,<br>> -pp<br>><br>> _________________________________________________<br>> For list-related administrative tasks:<br>> <a href="http://list.cs.brown.edu/mailman/listinfo/plt-scheme">