Click to See Complete Forum and Search --> : DrawText & TextOut vs. UpdateLayeredWindow


dezo
January 19th, 2008, 12:12 PM
Hi,
I'm using UpdateLayeredWindow to blend my window with the desktop window. This works fine. The problem is, that when I use DrawText or TextOut to output text to bitmap, they don't write anything to the alpha layer of the bitmap. The result is unclickable window, because all clicks go thru to the desktop window. If I use GDI+ and its text output, than it works fine. Is there any way how to make it work with standard GDI TextOut or DrawText?

Thanks,
dezo

dpatte
July 1st, 2011, 12:23 AM
yes, draw the text then fill in the alpha manually