In the menu's Popup event get cursor position by calling
Control.MousePosition. Convert it to grid's client coordinates and pass to
DataGrid.HitTest().
See
http://www.alexfeinman.com/download....c=GridDemo.zip for more
details
--
Alex Feinman
---
Visit
http://www.opennetcf.org
"MDB" <nospam> wrote in message
news:%(E-Mail Removed)...
> Hello All,
>
> I have a datagrid with multiple rows and columns When a user taps a
> column
> I update the quantity by one and then when they tap and hold, I display a
> context menu with Subtract and Quantity displayed. Everything works fine
> however, I can not figure out how to tell which of the datagrids
> cells(row/column) is selected where the context menu is displayed. Can
> anyone help? I have tried DataGrid.CurrentCell however, if the cell is
> not
> highlighted/selected, it doesn't work.
>
> Thanks In Advance
>