Windows Mobile 6.5 Internet Explorer OnKeyPress Not Exposed
Posted on 2010-09-09
It works beautifully on any desktop or laptop with an attached scanner. However, it does not work on a handheld device with Windows Mobile OS. :(
A lengthy research has verified that the onkeypress, onkeydown, onkeyup events (as well as others) are not exposed in Internet Explorer on Windows Mobile OS.
A dirty work-around is to code a setTimeout to check for value changes on the INPUT text fields (there are only 8 of them), so that is not too bad.
However, has anyone found a solution or way to expose the onkeypress/etc events and expose them to web pages in IE? (Without having to write your own WinApp browser control, turning it on in .NET, or purchase a commercial browser that does the same?)
It's a shame that Microsoft will tell you how to turn it on within your Windows Forms development (I've been to their MSDN solution page), but won't even go there regarding web pages, to the chagrin of not a few bloggers and forums.
Anyone got a rabbit in the hat on this?