🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: microsoft.public.vb.winapi
Article #14

Re: Large/small fonts issue =>HELP

#14
From: Larry Rebich
Date: Thu, 21 Dec 2000 05:29
70 lines
3287 bytes
Tore,

Use a factor of 15/12. And you can use the following to determine if the
user has small or large fonts selected:

Public Function IsLargeFonts() As Boolean
    Select Case Screen.TwipsPerPixelX
        Case 12
            IsLargeFonts = True
        Case 15
            'Normal
        Case Else
            'Custom font size
    End Select
End Function

Cheers,
Larry Rebich

More tips link to:
http://www.buygold.net/tips.html

Please:
No personal e-mail questions :-)


"Tore" <TBostrup@teamia.com> wrote in message
news:#35b$XtaAHA.1960@tkmsftngp04...
>
> There may be a reason why the user has determined to use small fonts (to
> effectively create "more" real estate in application windows, for
instance).
> Respect the user's wishes, even if his concept of user interface design
and
> type size is different from yours.
>
> I have been known to run 14" monitor at 1024x768 with small fonts, and
> routinely used to stretch 17" monitors up to 1600x1200 on occasion.  I
would
> be very upset if an app presumed it "owned" my PC and decided to implement
> counter-measures against my configuration choice.
>
> On the other hand, if you need to create your interface with larger or
more
> readable type, set the Fonts (Name, Size, etc.).  Make sure you use a font
> that the user would have or at least that should map to a standard font if
> not.
>
> HTH,
> Tore.
>
> muharem <blahabla_99@yahoo.com> wrote in message
> news:91qumr$2kd$1@nnrp1.phx.gblx.net...
> > Hi,
> >
> > I was wondering if there is a function to adjust my application looks
> based
> > on the large or small fonts selected by user. Right now app looks fine
> under
> > large fonts, however, changing the fonts size to small has pretty much
> same
> > effect as changing the resolution. I need to find way around this. Any
> > sugesstions are greatly appreciated.
> >
> > m,phx
> >
> >
>
>
>
Technical Details
Message-ID: <Lyg06.3151$Sc1.136817@newsread2.prod.itd.earthlink.net>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.online.be!newsfeed.direct.ca!look.ca!logbridge.uoregon.edu!cyclone-west.rr.com!news.rr.com!news-west.rr.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail
References: <91qumr$2kd$1@nnrp1.phx.gblx.net> <#35b$XtaAHA.1960@tkmsftngp04>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 104093,9d2cfc84b928debb
X-Google-Attributes: gid104093,public
X-Google-Thread: 1091e5,9d2cfc84b928debb
X-Google-Attributes: gid1091e5,public
X-Google-ArrivalTime: 2000-12-20 21:29:35 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.online.be!newsfeed.direct.ca!look.ca!logbridge.uoregon.edu!cyclone-west.rr.com!news.rr.com!news-west.rr.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail
From: "Larry Rebich" <lrebich@earthlink.net>
Newsgroups: microsoft.public.vb.winapi,borland.public.delphi.winapi
References: <91qumr$2kd$1@nnrp1.phx.gblx.net> <#35b$XtaAHA.1960@tkmsftngp04>
Subject: Re: Large/small fonts issue =>HELP
Lines: 72
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <Lyg06.3151$Sc1.136817@newsread2.prod.itd.earthlink.net>
Date: Thu, 21 Dec 2000 05:29:15 GMT
NNTP-Posting-Host: 63.20.180.19
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread2.prod.itd.earthlink.net 977376555 63.20.180.19 (Wed, 20 Dec 2000 21:29:15 PST)
NNTP-Posting-Date: Wed, 20 Dec 2000 21:29:15 PST
Organization: EarthLink Inc. -- http://www.EarthLink.net