There is some function wich return the X and Y position of an button, edit, or any other control? Thanks![]()
This is a discussion on Get Window X and Y? within the Windows Programming forums, part of the Platform Specific Boards category; There is some function wich return the X and Y position of an button, edit, or any other control? Thanks...
There is some function wich return the X and Y position of an button, edit, or any other control? Thanks![]()
If you have the handle to the window, use GetWindowRect. This fills a RECT structure with the coordinates of the window relative to the top left corner of the screen.