ChooseFont API 
Author Message
 ChooseFont API

Dear Reader,
    Does anyone know how to use the ChooseFont API to choose fonts?

I keep getting an error telling me to install fonts because there is none
installed, which I find a little ironic because it is using a font to tell
me this :-)

Regards, Necro...

P.S. Could you please reply via E-Mail...



Sun, 23 Sep 2001 03:00:00 GMT  
 ChooseFont API

Quote:

>Dear Reader,
>    Does anyone know how to use the ChooseFont API to choose fonts?

>I keep getting an error telling me to install fonts because there is none
>installed, which I find a little ironic because it is using a font to tell
>me this :-)

Just like using the common dialog control, you have to set the .Flags property
to one of:
        Public Const CF_PRINTERFONTS = &H2
        Public Const CF_SCREENFONTS = &H1
        Public Const CF_BOTH = (CF_SCREENFONTS Or CF_PRINTERFONTS)
or the dialog will report "no fonts installed."

Lee Weiner
weiner AT fuse DOT net
http://home.fuse.net/lweiner



Sun, 23 Sep 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Q for API gurus: ChooseFont API call sample

2. Using ChooseFont API?

3. REQ: ChooseFont API call sample

4. Help needed getting the ChooseFont api function to work

5. ChooseFont API

6. ChooseFont API Class Wrapper question

7. ChooseFont API

8. Choosefont API Call

9. Using ChooseFont API?

10. ChooseFont API...

11. Comdlg32.dll API functions for ChooseColor and ChooseFont dialogs

12. Trouble with ChooseFont function

 

 
Powered by phpBB® Forum Software