Chipp Walters wrote:
Nope, sorry Richard, it can't be obtained correctly from the registry. I
know, I've tried. There's a specific API call for it. See:
<http://lists.runrev.com/pipermail/use-revolution/2003-December/027437.html >
That post contains something I don't understand:
------------------
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..
------------------
Why would taskbar variances affect window title bar height?
--
Richard Gaskin
Managing Editor, revJournal
_______________________________________________________
Rev tips, tutorials and more: http://www.revJournal.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution