Thread View: microsoft.public.vb.winapi
3 messages
3 total messages
Started by muharem
Wed, 20 Dec 2000 18:04
Large/small fonts issue =>HELP
Author: muharem
Date: Wed, 20 Dec 2000 18:04
Date: Wed, 20 Dec 2000 18:04
9 lines
1382 bytes
1382 bytes
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
Re: Large/small fonts issue =>HELP
Author: Tore
Date: Wed, 20 Dec 2000 22:43
Date: Wed, 20 Dec 2000 22:43
35 lines
2244 bytes
2244 bytes
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 > >
Re: Large/small fonts issue =>HELP
Author: Larry Rebich
Date: Thu, 21 Dec 2000 05:29
Date: Thu, 21 Dec 2000 05:29
70 lines
3287 bytes
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
> >
> >
>
>
>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads