Go gets shortcuts when focus elsewhere


#1

I realize this is likely a Windows programming issue rather than a Go issue, but I can’t find a solution, and so I sure would appreciate a nudge in the right direction. GoDiagram views are in an IDE along with various other docking windows, such as a window containing a property grid. Shortcut keys, such as delete, ctrl+C, etc, which should be consumed by a property grid edit control, are instead being directed to the Go view. This occurs even if corresponding edit menu shortcut keys are disabled. How can I ensure that keyboard shorcuts are directed to the control with focus? Thanks!


#2

I’m not sure if this is what you’re referring to, but you might want to check out several Control methods: IsInputKey, IsInputChar, ProcessDialogKey, ProcessDialogChar. Maybe you can search for those names in some Windows Forms web sites or fora.