My app uses the SMMRichEditor control (which according to it's documentation, extends the webview control). I Have a physical bluetooth keyboard attached.
I wish to be able to intercept any keystrokes before they get to the editor. The reason being, is that I would like to implement various 'Hot' keys (as the physical keyboard has a 'Control' key).
For example Ctrl-B would be for Bold, Ctrl-I for Italic etc. The control already recognises Ctrl-C, Ctrl-X and Ctrl-V. But it seems to consume every keystroke, even the ones it doesn't use.
One way I thought of was to try and intercept the keys going to the Webview control that it is based on. However, the SMMRichEditor doesn't expose that property (the Webview), so I have no way of getting to it.
Thank you to anyone who can help.
I wish to be able to intercept any keystrokes before they get to the editor. The reason being, is that I would like to implement various 'Hot' keys (as the physical keyboard has a 'Control' key).
For example Ctrl-B would be for Bold, Ctrl-I for Italic etc. The control already recognises Ctrl-C, Ctrl-X and Ctrl-V. But it seems to consume every keystroke, even the ones it doesn't use.
One way I thought of was to try and intercept the keys going to the Webview control that it is based on. However, the SMMRichEditor doesn't expose that property (the Webview), so I have no way of getting to it.
Thank you to anyone who can help.