- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For some reason the font dialog box refuses to reflect a selected font type at the time it is initialized.The font style and size are all selected but the name of the font alone does not appear in the list box.I use a logfont structure that has lf%facename as 'ARIAL' or some other standard value.I use the following:
chf%lpLogFont = LOC(lf)
chf%Flags =IOR(IOR(CF_SCREENFONTS,CC_PREVENTFULLOPEN),CF_INITTOLOGFONTSTRUCT )
I would like to use NOT(CF_NOFACESEL) but am not sure how to incorporate it.Any pointers on this will be appreciated.
-rswy
chf%lpLogFont = LOC(lf)
chf%Flags =IOR(IOR(CF_SCREENFONTS,CC_PREVENTFULLOPEN),CF_INITTOLOGFONTSTRUCT )
I would like to use NOT(CF_NOFACESEL) but am not sure how to incorporate it.Any pointers on this will be appreciated.
-rswy
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CF_SCREENFONTS flag lists only "screen", i.e. bitmapped fonts, such as "Terminal" and that's the reason you don't see "Arial", which is TrueType; you should remove that flag.
Jugoslav
Jugoslav
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page