That's the thing - I don't want to leave anything to the form as I
want it to work as an autonomous control.  I've looked at the
ScintillaNET code a bit, but it has quite a lot of C++ so it's
implementation is very different to mine.

I can get around the problem by overriding the OnProcessKey method of
the holding control, but it just seems like such a hack.

I'll keep messing around with it - thanks for getting back to me.

Cheers
Matt

On 07/02/06, Neil Hodgson <[EMAIL PROTECTED]> wrote:
> Matt Salmon:
>
> > I am writing a C# wrapper for Scintilla (I know about ScintillaNET but
> > it doesn't expose everything I need) and everything is working well,
> > except that for some reason the control ignores arrow keys without
> > modifiers.
> > ...
> > This is what I want, but I have found that if I remove the WS_CHILD
> > modifier, then the arrow keys work fine.  For some reason, it seems as
> > if the window is being created as a dialog or something, and the arrow
> > keys are being ignored!  Any ideas as to what I'm doing wrong?
>
>    Your form is probably deciding to read arrow keys in order to move
> focus around. There may be a setting to turn this off. You could also
> check for arrow keys at the form level and forward them to Scintilla.
> Reading the ScintillaNET source may be worthwhile.
>
>    Neil
>
> _______________________________________________
> Scintilla-interest mailing list
> [email protected]
> http://mailman.lyra.org/mailman/listinfo/scintilla-interest
>

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to