microsoft-accessibility

“Chrome legacy Window” when launching chrome with RunAs

青春壹個敷衍的年華 提交于 2019-12-06 19:25:26
问题 I am trying to use MSAA (on Win7) to get the addressbar in chrome browser and replace it with a different url. When chrome is launched normally (as the loggedon user), I am able to find the addressbar using the IAccessible interface by traversing through the UI tree of the window classes owned by the process. However, if I launch chrome as a different user (by using RunAs in windows), I see window with name, "chrome legacy window" when going through the classes owned by the "RunAs" process.