{$if CompilerVersion<18}
IID_IAccessible: TGUID = '{618736E0-3C3D-11CF-810C-00AA00389B71}';
function LResultFromObject(const riid: TGUID; wParam: WPARAM; punk: IUnknown): LRESULT; stdcall; external 'oleacc.dll' name 'LresultFromObject';
{$ifend}
With these changes, I can arrow up and down in a virtual treeview control, and screen reader reads row with focus.
Would someone please take a look at this and see if I'm on the right track? If the update is correct, could the fix be added to the next version of the component?
I'm still having trouble getting screenreader to read the 'checked' or 'unchecked' state of a row (the virtual treeview control in my app uses checkboxes). I could use some help with that .....
Thanks
Jim
I have an app that I'm still compiling with Delphi 7, and having some virtual treeview accessibilty problems. (Virtual Treeview version 5.1.3) I did some things to get it to work better, but I'd like to run this by the group.First, it looks like in one of the previous releases of Virtual Treeview, a dependency on msaaintf.pas was removed. msaaintf.pas contained a declaration for notifywinevent, which is apparently incorrect in Delphi 7 (see issue 319). I was seeing access violations in my app on calls to notifywinevent. This problem was corrected by updating VirtualTrees.pas to include the updated declaration.This solved the access violations on notifywinevent calls, but screen readers did not read text in rows that had focus. I noticed that the function WMGetObject in virtualtrees.pas contains a $if directive that requires compiler version 18 in order to make calls to LresultFromObject.
--
You received this message because you are subscribed to the Google Groups "Virtual Treeview" group.
To unsubscribe from this group and stop receiving emails from it, send an email to virtual-treevi...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
function LResultFromObject(const riid: TGUID;
wParam: WPARAM; punk: IUnknown): LRESULT; stdcall; external 'oleacc.dll' name 'LresultFromObject'; stdcall;