CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: desden

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    9,140

    Re: MFC GDI+ loading ttf font resource

    Right! What a stupid mistake!
    Thanks.
  2. Replies
    8
    Views
    9,140

    Re: MFC GDI+ loading ttf font resource

    Well, I don't know why, but id doesn't work for me.
    This is my code:


    void CMiDialogo::DrawMyText(Graphics& rgraphics, WCHAR* text, int typeFont, float x, float y, Brush* myBrush)
    {...
  3. Replies
    8
    Views
    9,140

    Re: MFC GDI+ loading ttf font resource

    Ok, thank you very much.
    I'll try it!
  4. Replies
    8
    Views
    9,140

    Re: MFC GDI+ loading ttf font resource

    Hi Mike,
    I'm having the same problem as you. I have 3 fonts installed (same way you did it) using DrawString for 3 different texts, but every time the dialog opens, the text shows different (fonts...
Results 1 to 4 of 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)