Transparent text using CTextView

Login to reply to this topic.
Tue, 2006-05-09 12:44
Joined: 2006-04-04
Forum posts: 4
Hello

  Please, don't you know how to draw text transparently using CTextView or CTextLayout? I need to draw this text on a bitmap but the CTextView always draws also white backgound.
  I also tried to set null brush (CWindowGc::SetBrushType()) but it did not help.

  Other possibility could be to draw text on some auxiliary bitmap, create mask and draw this bitmap transparently but i believe that there is a simpler solution (anyway .. i you know how to draw text on my own bitmap, it would be also helpful).

Thank you

Mon, 2008-01-28 02:15
Joined: 2007-05-30
Forum posts: 9
Re: Transparent text using CTextView

Have you solve this problem? I came across the same situation.

  • Login to reply to this topic.