I use PocketPC 2003 and C# as language.
I have a DataGrid control which displays data records from a database
server. I have a context menu which allows editing or deleting of a
selected row (record).
Problem:
When I tab and hold the stylus for one or two seconds I get the
context menu. But I do not get ANY mouse events. I have written
handlers for all three events providing coordinates (MouseDown,
MouseUp, MouseMove). NONE of these events gets fired unless I release
the stylus.
This has very nasty side effects. If a user has lets say row 3
selected and now tab and holds the stylus on row 6 he gets the
context menu correctly. Since now mouse events are fired the
coordinates of row 3 are still stored in my program. If the user
selects to delete the row, he deletes row 3 instead of 6!
Does anybody know about this problem? Is this a bug? Any workaround
available?
Many thanks!
Tom
|