Clarification: in any application there are all sorts of menus, toolbars, etc. how it is possible to receive the list of these objects through win32api? the next step is to select one of the objects and get its coordinates.
Do I understand correctly that in addition to hwnd there is cwnd, and you need to dig in this direction? What if the application is not written in C++?
Can I access the coordinates of these objects?