hi there,
i've added the context menu to my datagrid and it appears fine when i hold
down the stylus on the grid, but what i'm trying to do is the following:
say, 10 rows in my grid, currently the 2nd is selected, now i use the stylus
and hold it down on the 6th row for the menu to appear, but it doesnt change
the focus on the 6th row, instead my command still fires off for the 2nd.
how can i correct this problem, so wherever the context menu appears, that
row gets selected?
thanks,
Paul
Fabien - 23 Mar 2007 09:28 GMT
Hi,
Try to catch an event (C# event or Window Message) when you hold down
the stylus then select manually the row you right click.
Hope this give you an indication.
BR
Fabien Decret
Windows Embedded Consultant
ADENEO (ADESET)
http://www.adeneo.adetelgroup.com/
> hi there,
>
[quoted text clipped - 10 lines]
> thanks,
> Paul
Milsnips - 23 Mar 2007 10:05 GMT
Hi Fabien,
yeh i've tried pretty much all the events, and it doesnt seem to work as i
want, i guess i'll need to catch the windows message.
thanks,
Paul
> Hi,
>
[quoted text clipped - 29 lines]
>> thanks,
>> Paul