Hi,
I have a custom language service which also provides some custom OptionPages (ie, pages that are integrated in the default Visual Studio Options-Dialog). This basically works great, except for one isse: I cannot capture key-press events (especially Enter and Escape events).
To be more precise, I have a DataGridView on my OptionPage. The user can edit single cells. The usual way to stop editing is to either press Enter (ie, accept cell changes), or Escape (discard cell changes). However, pressing Enter/Escape does not end the DataGridViewCell's Edit-Mode, but rather ends the entire Options dialog. It's like clicking the dialog'S OK or Cancel button, although we simply want to exit the currently edited cell.
Is there any way to capture these events and handle them properly? I couldn't manage to get any KeyDown event of the DataGridView to actually fire.
Thanks,
Max