Handling Ctrl+S from a EuGrid?
- Posted by Andres Cabezas <acabezas at debonware.com> Apr 09, 2005
- 407 views
In many Windows applications, you can press Ctrl+S to Save the current file. This will work regardless of what control has the focus. I implemented this rather easily with a custom KeyDown handler and a call to setHandler(Screen, w32HKeyDown, routine_id("KeyDown_Handler")) to add the handler to all controls in the application. However, I've found that when the focus is inside an Edit field in a EuGrid, the Ctrl+S combination does not work. It always gets trapped. Thus I have ben unable to implement an essential functional aspect of a Windows application. (You should not have to change focus to another control just to be able to press Ctrl+S.) Has anyone found a workaround that does NOT involve altering the EuGrid source code itself?