home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pipex!warwick!uknet!dcl-cs!alan
- From: alan@comp.lancs.ac.uk (Alan Phillips)
- Newsgroups: comp.os.ms-windows.programmer.win32
- Subject: Font common dialog problem diagnosed
- Message-ID: <1992Dec17.101418.5669@comp.lancs.ac.uk>
- Date: 17 Dec 92 10:14:18 GMT
- Organization: Department of Computing at Lancaster University, UK.
- Lines: 11
-
- I found the reason for a problem I posted a while ago, which stopped
- installed fonts being shown in the common dialog for font select in both
- 32-bit and 16-bit apps
-
- It turns out that if you specify CF_FIXEDPITCHONLY in the CHOOSEFONT
- struct, the dialog routine disqualifies _all_ fonts except the standard
- raster fonts.
-
- Only way of getting fixed-pitch only I can see at the moment is to show
- all the fonts, and use WM_CHOOSEFONT_GETLOGFONT to check the details when
- the user clicks OK. Messy.
-