Hi!
You cannot use it in VFP directly because even when you manage to create the font that way, VFP cannot use this font to display something. Of course, you can open the device context for current window in VFP by other API functions and draw something by API functions using that font. However, this is tremendous and requires a lot of work. For whatever reason you want to use this functionality, think twise if time spent for this worth it. Most visible controls in VFP have the appropriate properties to configure the font and it is enough in 99.9% of situations.
>How can I use CreateFontIndirect and logfont in vfp?
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.