Chris Williams
07-09-2005, 11:13 PM
Hi all
Can anybody tell me how to reliably get SCROLLBARINFO for Internet Explorer
client window?
I use:
GetScrollBarInfo(hwClient, OBJID_VSCROLL, &sbiVertical);
where hwClient is the (HWND) client window and sbiVertical is a
SCROLLBARINFO. I have used this successfully elsewhere so I don't think I'm
doing anything wrong.
The vertical scrollbar is always visible even if not enabled but, whether
enabled or not, I can't get hold of the SCROLLBARINFO for the IE client
window. I am successfully using IAccessible elsewhere in my application and,
for other apps (like Word, for example), the scrollbar or its constituent
parts are themselves accessible objects -- not in IE!
In other words, with the scrollbar not appearing to be an accessible object,
nor showing up in SCROLLBARINFO for the client window, how can I tell when
the mouse is moved over it?
Thanks for reading this far and thanks even more for any thoughts or ideas!
Chris.
Can anybody tell me how to reliably get SCROLLBARINFO for Internet Explorer
client window?
I use:
GetScrollBarInfo(hwClient, OBJID_VSCROLL, &sbiVertical);
where hwClient is the (HWND) client window and sbiVertical is a
SCROLLBARINFO. I have used this successfully elsewhere so I don't think I'm
doing anything wrong.
The vertical scrollbar is always visible even if not enabled but, whether
enabled or not, I can't get hold of the SCROLLBARINFO for the IE client
window. I am successfully using IAccessible elsewhere in my application and,
for other apps (like Word, for example), the scrollbar or its constituent
parts are themselves accessible objects -- not in IE!
In other words, with the scrollbar not appearing to be an accessible object,
nor showing up in SCROLLBARINFO for the client window, how can I tell when
the mouse is moved over it?
Thanks for reading this far and thanks even more for any thoughts or ideas!
Chris.