Вопрос

I'm using the ScintillaNet control to make an editor for a proprietary language my workplace uses.

I am attempting to implement the CallTip functionality but for some reason the DwellStart event is not being called. I could not locate any flags that needed to be set and (as per the norm) there was no documentation to be found.

I implemented the event handler via the designer so the code is auto generated.

Has anyone implemented CallTip from scratch and knows what has gone wrong?

Это было полезно?

Решение

Ok so I did more experimentation and I found out that I had to (via the NativeInterface) set the Dwell time to a value larger than zero to enable it.

I could not find any way to do this via the wrapper itself.

scintilla1.NativeInterface.SetMouseDwellTime(3000);

(uses milliseconds)

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top