void DrawBitmap(CDC& dc, CBitmap* pbm) { CDC dcMem; BOOL bReturn; dcMem.CreateCompatibleDC(&dc); CBitmap* pOldBitmap = dcMem.SelectObject(pbm); *!* Copy bits from bitmap to display context, parameters *!* intentionally left out. dc.BitBlit(.....) *!* Now use the GDI to perform further rendering. dc.DrawText(data, -1, r, DT_CENTER ); dcMem.SelectObject(pOldBitmap); }If you have any more problems then I will dig out Visual C++ and create a sample project for you.