[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

Re: [XaraXtreme-dev] Keypress handling


In most cases a control's default behaviour will be fine (because you are
suggesting controls should claim all keypresses if they claim any). No
subclassing required.

But /all/ native controls claim keypresses.

I think the difference between us is that you are assuming you can
not only prevent non-keypress-controls from getting keypresses by
stopping them getting focus. So far so good. But the problem is that
method seems inadequate for making sure the keypress actually gets to the
page. See Luke's scenario, for instance.