Darren Schroeder wrote:
I'm trying to catch a Ctrl-S in my editor component so it doesn't put
the [DC3] key in the scintilla window. I've looked through the
ScintillaDoc.html but nothing is really jumping out at me. Can anyone
give me a suggestion of where to look?
It may just be a perspective issue - i.e., who processes the keys?
I think that your environment ("container" for Scintilla) should not
pass in key events that you don't want the component to see... note
SciTE, where Ctrl-S is consumed before Scintilla sees it. Or my own
use of Scintilla (in GTK2+): the GTK "ui manager" grabs Ctrl-S because
it is a menu accelerator...
In Windows-land, a simple hack could be to use a pretranslate handler
in the containing window.
Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest