WinXP taskbar height...yet again
Chipp Walters
chipp at chipp.com
Fri Dec 19 18:25:17 EST 2003
I know about the windowboundingrect. But what I want to do is to get the
'default' windowBoundingRect, not the one imposed on me by the IDE. IOW, I
want to 'reset' the windowBoundingRect.
I've searched and found Ken Ray's:
function TitleBarHeight
get queryRegistry("HKEY_CURRENT_USER\Control
Panel\desktop\WindowMetrics\CaptionHeight")
if it is not empty and isNumber(it) then
put round(it / -15) into tHeight
return tHeight
end if
end TitleBarHeight
but, sadly, this isn't reliable. It doesn't take into account double row
taskbars or unlocked taskbars, etc..
Any other ideas?
thx,
Chipp
Chipp Walters
Altuit, inc.
www.altuit.com
More information about the use-livecode
mailing list