I have a control with an undo feature, when the user press Escape the control will revert the original value.
The problem is when I integrated my control to DataGridView. The DataGridView "eats" the Escape key, hence my control cannot detect the Escape key.
When I put "return true" on EditingControlWantsInputKey, my control was able to detect the Escape key, but other problem arised, the DataGridView cannot close my control, it stays in EditMode.
How to allow my control to detect the Escape key while also allowing the DataGridView to close my control?