Hi Mike,
I'm afraid you'll have to inherit from the DataGrid and override its WndProc
to handle the Del key upon WM_KEYDOWN notifications. You can also try
overriding ProcessDialogKey not to deal with raw Win32 API messages but I am
not sure this will help.
--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE
"Mike" <st******@mail.ucf.edu> wrote in message
news:00****************************@phx.gbl...
Hi,
I am working with the data in the datagrid behind the
scenes because I have very specific data validation that
needs to be done before saving to the database.
I am wondering, what event detects when the user
highlights a row and then hits "Delete" button. I have
tried the keypress event, but that doesn't work.
Thank you,
Mike