want to write your own string as an overlay of a given bitmap?
Use this code
CFont* pFont = CFont::FromHandle((HFONT) GetStockObject(DEFAULT_GUI_FONT));
CFont* pOldFont = dc.SelectObject(pFont);
dc.SetTextColor(RGB(255,255,255));
dc.SetBkMode(TRANSPARENT);
dc.TextOut(500,397,"String");
dc.SelectObject(pOldFont);
Thursday, May 7, 2009
Embeding String as overlay on a bitmap
Subscribe to:
Post Comments (Atom)
0 תגובות:
Post a Comment