Re: Accessibility
Mike Ray <[email protected]>
| Newsgroups | gmane.editors.scite.general |
|---|---|
| Message-ID | <[email protected]> |
Thanks again Neil. I may well be able to hook into SciTE and get the properties of the list box. Although if it is owner-drawn, that might mean, as you say, I cannot possibly retrieve the text. I can see hours of pouring over my scruffy old Petzold "Programming the Windows API" book on the horizon. I also write in C++, and have a pretty deep knowledge of the Win32 API. And of course I can take a squint at the SciTE and Scintilla source. It would be so good to be able to get this to work. SciTE is my favourite code editor, with emacspeak a close second on Linux. Mike On 09/12/2021 23:10, 'Neil Hodgson' via scite-interest wrote: > Mike Ray: > >> If I can do that, I might be able to identify the window ID of that pop-up list and get NVDA to be able to "see" the entries on the list. > > That is unlikely to work. On Windows, Scintilla uses the listbox control which is very simple with just a single column. Since autocompletion lists may contain icons, not just text, they are “owner drawn”. The data stored in the list box control are not strings but integer “item ID” items. The text and icons are hidden within Scintilla and indexed by the item ID. The screen reader would probably only be able to say something like “item 1”. Scintilla doesn’t provide an API to retrieve the text of items. > > Neil > -- Michael A. Ray Analyst/Programmer Witley, Surrey, South-east UK He/him "Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery -- You received this message because you are subscribed to the Google Groups "scite-interest" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/scite-interest/6014a5ef-11de-ba4e-cf88-eeaf109cc10b%40raspberryvi.org.