I have a place in my program where I need to translate keycodes from the pbm_dwnkey event in a DW to characters, but have just realized that if you have a foreign-language keyboard, it doesn't work to pick up accented characters - I'm doing everything based on the assumption that it's English, which isn't true for some of our users. (In fact, I suspect some regular characters might not be working correctly on other keyboards.)
Is there a way to work around this, or perhaps use some Windows API instead of hard-coding a huge case statement as I have done?
The use case is a DW displaying a list of names, where I want the user to just be able to have the focus in the DW, and start typing first letters of the name, and have it scroll to that name. I don't want them to have to first click into some search field to do that (which obviously would be one solution).
Thanks.