Strange behavoir on KeyDown in CompactFramework
-
Hi! I have a Motorola MC7090 that runs a .Net Compact Framework - application. On the mainform i catch the "KeyDown"-Event, which work fine for "regular" keys. As the MC7090 (as most Windows Mobile devices) has some custom keys, two for volume (+/-) on the left side, and another key on the right side. When i open the application i get a key-down-event from this key on the right side. After klicking a button on the touchscreen the event is not longer thrown. All other keys (keypad 1-9, etc...) work fine. Just this one key is not working. Unfortunately my customner wants exacly this key to work. Does anyone have any idea how i could make this key work? Thanx! J.
-
Hi! I have a Motorola MC7090 that runs a .Net Compact Framework - application. On the mainform i catch the "KeyDown"-Event, which work fine for "regular" keys. As the MC7090 (as most Windows Mobile devices) has some custom keys, two for volume (+/-) on the left side, and another key on the right side. When i open the application i get a key-down-event from this key on the right side. After klicking a button on the touchscreen the event is not longer thrown. All other keys (keypad 1-9, etc...) work fine. Just this one key is not working. Unfortunately my customner wants exacly this key to work. Does anyone have any idea how i could make this key work? Thanx! J.
Try overriding WndProc and checking for the message manually?
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. A man said to the universe: "Sir I exist!" "However," replied the universe, "The fact has not created in me A sense of obligation." --Stephen Crane
-
Try overriding WndProc and checking for the message manually?
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. A man said to the universe: "Sir I exist!" "However," replied the universe, "The fact has not created in me A sense of obligation." --Stephen Crane