Reputation: 481
I´m trying to detect when a combobox in my Windows Mobile application is hit by a mouse click. Unfortunately this component in .NET CF2.0 doesn´t have a MouseClick event (whereas Desktop .NET does). Does someone have an idea of how to catch mouse/stylus clicks over the items list of a combobox using C#?
Thank you!
Upvotes: 0
Views: 448
Reputation: 16273
You should be able to use the MouseDown/MouseUp events to get the same behavior as MouseClick. You will just have to make sure the object is the same is both cases and store some state between events.
Upvotes: 0