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

    How to enumerate font styles for a given font

    I recently switched from Visual C++ 6.0 to Visual C++ 2008.

    With Visual C++ 6.0, I used a callback method to get available font styles for a given font. I don't think that is working correctly anymore.

    What is the best approach for determining which font styles (e.g., bold, italic, etc.) are available for a given font. I am not using .Net.

  2. #2
    Join Date
    May 2004
    45,000FT Above Nevada

    Re: How to enumerate font styles for a given font

    ATP BE400 CE500 (C550B-SPW) CE560XL MU300 CFI CFII

    "The speed of non working code is irrelevant"... Of course that is just my opinion, I could be wrong.

    "Nothing in the world can take the place of persistence. Talent will not; nothing is more common than unsuccessful men with talent. Genius will not; unrewarded genius is almost a proverb. Education will not; the world is full of educated derelicts. Persistence and determination are omnipotent. The slogan 'press on' has solved and always will solve the problems of the human race."...Calvin Coolidge 30th President of the USA.

  3. #3
    Join Date
    May 1999

    Re: How to enumerate font styles for a given font

    Look into:
    There are only 10 types of people in the world:
    Those who understand binary and those who do not.

Posting Permissions

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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.