🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: no.it.programmering.visual-basic
2 messages
2 total messages Started by Chetan Phull Fri, 31 Jul 1998 00:00
How do I find out if WIN32 is using Large or Small Fonts?!
#1
Author: Chetan Phull
Date: Fri, 31 Jul 1998 00:00
18 lines
1356 bytes
Hi people I've been trying for a long time now to find a function
that'll determine if Windows95/98 is using Small or Large fonts.
Isn't there something like this that would determine it:

Dim FontSize As BOOL
FontSize = GetFontSize()

If FontSize = True Then			'large
	'blah
Else					'small
	'blah
End If

If there is no function that would work as the above wishful thinking
I have just typed, please tell me how I would find out.  Thanx

Chetan
Phull
Re: How do I find out if WIN32 is using Large or Small Fonts?!
#9
Author: David Jeavons
Date: Tue, 18 Aug 1998 00:00
31 lines
1770 bytes
On Fri, 31 Jul 1998 16:40:41 GMT, phull@interlog.com (Chetan Phull)
wrote:

>Hi people I've been trying for a long time now to find a function
>that'll determine if Windows95/98 is using Small or Large fonts.
>Isn't there something like this that would determine it:
>
>Dim FontSize As BOOL
>FontSize = GetFontSize()
>
>If FontSize = True Then			'large
>	'blah
>Else					'small
>	'blah
>End If
>
>If there is no function that would work as the above wishful thinking
>I have just typed, please tell me how I would find out.  Thanx
>
>Chetan
>Phull


If you wish to find entries from the Windows 95/98, NT registry you
need to use GetSetting or GetAllSettings VB functions. You can find
help on these in the help file. Unfortunately, to use the GetSetting
you must know the registry key. 

Dan Applemans Gude to the Win32 API is also a very good book. It has a
whole chapter set aside for Windows fonts and outlines all of the
API's used to set and get font information
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