tags:

views:

15

answers:

0

I have a WPF application that makes use of the PreviewKeyUp function to handle keystrokes before they might otherwise be dealt with.

It works fine, but often (not always) if I switch to another windows application and then back, it just stops working. If I interact with anything on the form that can accept focus (say a button, or a text box), it starts working again.

It's the lack of consistency that kills me.

If anyone has ANY suggestions on where to start looking, I would be most grateful.

Thanks in advance,

Aibynn