CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Logfont

  1. #1
    Join Date
    Jun 2001
    Location
    Michigan
    Posts
    2,222

    Logfont

    I'm trying to change my font to "Verdana" using a LOGFONT stuct, how can I do this?

  2. #2

    Does this help?

    Hey,

    I'm not exactly sure what a "LOGFONT" struct is... but I did make a sample app a while back when I was learning that delt with fonts. I attached it, but it's kinda big. Well, we will see if it goes through!

    Best of luck,

    ~ Selevercin

  3. #3
    Join Date
    May 2002
    Location
    Poland
    Posts
    48
    The easier way to create a font is CFont::CreatePointFont() where you only need to pass the size (multiplied by 10) and name. LOGFONT is useful if you have to specify all these bold, italic, underline etc. parameters.
    regards,
    MiMec

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured