rdgerken
Technical User
- Jul 8, 2002
- 108
I have an application that uses the compact framework. I have a listbox that I want the user to be able to multi-select items in this listbox. I added some code I found to enable this functionality, and it works great. On the emulator, I can CTRL-Click different items in the list box to select and deselect them. However, when I deploy the application to my device, it seems as if when I hit the CTRL key, it is stored in a keyboard buffer, it is not sent along with clicks on the screen with the stylus. In other words, I can tediously multi-select items in the listbox using the keyboard, but I can not get this device to do a "CTRL - Click" using the stylus. Can anyone provide some sample code that will "override" the clicks to the listbox... so that instead of sending a left mouse button, I always send a left mouse button with a control key modifier? Please note, I only want to do this for clicks on the listbox, not any of the other controls on the form. One other note, if I use the built in, on-screen keyboard, it of course works fine - however, I really can't have the operator using this keyboard. Thanks!