titled.
For instance, I have a List View showing 3 entries navigated by arrow keys. When I press spacebar, an image will appear the top of the selected entry.
So the natural solution is to get the position of the selected entry and change that of the image accordingly. But it seems to me the relevant api doesn’t support this.
This function will obtain the coordinate position of each entry relative to the top-left corner of the viewport. If you want to obtain the position of each entry, you need to use this function further. Specifically, it is to obtain the position of each child control relative to the top-left corner of the parent control, and then combine them together.