Thanks, but I don't think it solves the problem (and I tried it and it didn't).
The problem is, OnChar isn't even called when the spacebar is pressen on the sof input pannel. So it must generate a different kind of message (I suppose)?
The problem is I don't know what kind of message so I can't catch it.