highlight IE7 tab
Hi,
Is it possible to highlight or flash IE7 tab with windows api?
Thanks
Hi,
Is it possible to highlight or flash IE7 tab with windows api?
Thanks
- Starting from top level IE window (class "IEFrame") search for a window with class name "DirectUIHWND" (This is the window containing tab buttons).
- Call AccessibleObjectFromWindow to get an IAccessible object from the window handle found above.
- Using IAccessible methods (IAccessible::get_accChild, IAccessible::accNavigate) browse the accessible children hierarchy and find the tab you're interested in. The tab accessible object has the role "page tab". (Inspect32 is a nice tool to have when working with AA).
- Get the screen location of the tab button using IAccessible::accLocation method and paint some visual effects on it.