Trying to get the window boarder size of a window, as switching from computer to computer can throw the code off. I am not that familiar with vbscript, but was able to find this link online that make is seem like I'm close if only I knew that language.
http://msdn.microsoft.com/en-us/library ... S.71).aspx
Any help will be greatly appreciated.
Window border size
Moderators: JRL, Dorian (MJT support)
If I'm understanding you correctly you want to know the pixel count difference between the X/Y coordinates of a dialog and the X/Y coordinates of the actual working area of a dialog. This is necessary because computer users can (and do) modify their window appearance settings making their borders and title bars different sizes.
Select the link below. Look to Marcus' supplied dll near the end.
Hope THIS helps.
Select the link below. Look to Marcus' supplied dll near the end.
Hope THIS helps.