>Thanks Marty for the quick response.
>So, when you say GetSystemMetrics(1) that is for the hieght?
>So would you say GetSystemMetrics(2) for the width?
Yes, GetSystemMetrics(1) is height, but GetSystemMetrics(0) returns width.
I read Ed Chin's recommendation. He recommended SYSMETRIC(1) and SYSMETRIC(2). I'm not sure why I didn't use that instead of using the API call. SYSMETRIC() is probably a better way to go. I haven't had any problems with my approach though.
Marty
Marty Smith, CSQE