I have a Data Grid View inside a control that is displayed in a certain area in an application.
I'd like this activity grid to refresh when F5 is pressed.
It's easy enough to do this when the Activity Grid View is the currently focused element on the screen by handling the Key Up event, but this obviously doesn't work when another element (e.g. the menu bar) was the last thing that was clicked on.
Is there a way to track key presses in this case as well? I don't have access to the code outside my data grid view/control.
The answer to this may be a clear no, but I wanted to make sure I wasn't missing something obvious in making this work.