🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #16110

Re: text size?

#16110
From: Ed Mulroy [TeamB]
Date: Fri, 30 May 2003 17:08
14 lines
1538 bytes
If you did (HFONT) GetSystemMetrics(SYSTEM_FONT); and found its height
(perhaps with GetTextMetrics) you should have the size of the font used in
menus (except for toolbar menus which use a smaller font).

.  Ed

> Robert Hoover wrote in message
> news:3ed78602$1@newsgroups.borland.com...
>
> I'm trying to get the size of the font used in the menu
> from windows. So far, I've found
> GetSystemMetrics(SM_CYMENU) which gives me the
> height in pixels of the menubar. How can I get hold of
> the fontsize?
Technical Details
Message-ID: <3ed79012@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.news2me.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3ed78602$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,4bf981bc20385a7d
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-05-30 10:50:25 PST
From: "Ed Mulroy [TeamB]" <ed@mulroyREMOVETHESECHARS.org>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3ed78602$1@newsgroups.borland.com>
Subject: Re: text size?
Date: Fri, 30 May 2003 13:08:29 -0400
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 206.228.162.54
Message-ID: <3ed79012@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1054314514 206.228.162.54 (30 May 2003 10:08:34 -0700)
X-Authenticated-User: edmulroy
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.news2me.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail