My application has many similarities to the code editor in many programming IDE's. As you type a function name, the autocomplete listbox is filled up with all the function beginning with (eg) "p". Not rocket science, and made very easy with Scintilla.
What I would like to do it to add a tooltip next to the autocomplete listbox. I would love a SCN_AUTOCGETTOOLTIP notification, and this would get handled automatically, but I'm not that lazy if that would be getting into host application territory, rather than core Scintilla activity.
Alternative, a SCN_AUTOCSELCHANGING notification when the selection changes would help. There's a very handy AutoCompleteMove function already in place, where the notification can be initiated.
I would also need some SCI_AUTOCGETRECT equivalents passing in a rectangle structure to be filled in with the autocomplete listbox bounding coordinates, and which item is currently selected.
I could write all this myself for MS Windows, but I'd be less sure for other OS's unfortunately.
As a last resort, some way of getting the window handle of the listbox would also work. I could hook the window messages myself too, but that would be less nice for others.
Log in to post a comment.