Tracking a Window's absulute client area...
Hi all,
Can anyone tell me an easy way to retrieve a windows ''absolute'' CLIENT coordinates on the desktop?
The only way I can do this at present is by using GetWindowRect() and GetClientRect() and then doing several arithmetic steps to deduce the window''s title & border dimensions. Using GetSystemMetrics(SM_CXBORDER) and GetSystemMetrics(SM_CYBORDER) gives me the value ''1'', which is what is stored in my Display/Attributes properties, but not the number of pixels used.
Any help appreciated.
Thanks,
Marty.
martintaylor@lineone.net
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement