XP - window metrics
Richard Gaskin
ambassador at fourthworld.com
Thu Aug 22 22:32:01 EDT 2002
> You get the "CaptionHeight" in the same location, divide by -15 (as you have
> done below) and you're there (in pixels). Like:
>
> function TitleBarHeight
> get queryRegistry("HKEY_CURRENT_USER\Control
> Panel\desktop\WindowMetrics\CaptionHeight")
> if it is not empty and if isNumber(it) then
> put round(it / -15) into tHeight
> return tHeight
> end if
> end TitleBarHeight
Excellent, Ken. Thank you.
Does the same registry path work on all Win32 systems?
--
Richard Gaskin
Fourth World Media Corporation
Custom Software and Web Development for All Major Platforms
Developer of WebMerge 2.0: Publish any Database on Any Site
___________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
Tel: 323-225-3717 AIM: FourthWorldInc
More information about the metacard
mailing list