Get text from a class without a window

I am trying to get url from Opera browser. In Spy ++, you can have a target cursor where it detects window controls and gives you the class name. When I hover it over the Opera address bar, it cannot detect the URL control, so I assume that it is drawn inside. Is there a way to get text from a class? I use MFC and for IE8, I send a wm_Gettext message to get the text.

thanks

+3
source share
1 answer

One way to solve the problem would be to show the URL in the Opera title bar. Copypaste opera:config#show addressto the address bar, check the box and save. If this is what you are looking for.

+2
source

Source: https://habr.com/ru/post/1722179/


All Articles