Advertisement

Tracking a Window's absulute client area...

Started by January 08, 2000 11:39 AM
0 comments, last by Marty 25 years, 2 months ago
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
do you mean:

SM_CYSCREEN and SM_CXSCREEN ??? The fullscreen height and width.....??

Dance with me......

http://members.xoom.com/CJdeVos/index.htm

This topic is closed to new replies.

Advertisement