c++ - Cannot find Chrome_OmniboxView -
i cannot find chrome_omniboxview. think name of chrome maybe change. code following cannot work anymore. please me.
hwndchromemain = findmainwebbroswer(l"chrome_widgetwin_1"); // ok // buffer ::sendmessage(hwndchromemain, wm_gettext, 255, (lparam)buffer); // ok // saved buffer // find chrome child tab hwndchromechild = ::findwindowexw(hwndchromemain, null, l"chrome_omniboxview", null); // not ok
the hwndchromechild null.
this no longer possible of chrome version 28, omnibox no longer has hwnd.
you need change way interacting omnibox. 1 way use microsoft automation framework.
source: https://code.google.com/p/chromium/issues/detail?id=246644
Comments
Post a Comment