XP - window metrics
Ken Ray
kray at sonsothunder.com
Fri Aug 23 10:32:00 EDT 2002
I just checked Win95 and it's there, too. I'd have to assume it's on all
Win32 systems...
Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
----- Original Message -----
From: "Richard Gaskin" <ambassador at fourthworld.com>
To: <metacard at lists.runrev.com>
Sent: Thursday, August 22, 2002 9:26 PM
Subject: Re: XP - window metrics
> > 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
>
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
>
More information about the metacard
mailing list