本帖最后由 qf230zhj 于 2010-06-25 17:09:17 编辑

解决方案 »

  1.   

    如何使"hello"文字保存在图片上
      

  2.   

    需要绘制在相应的DC上,然后保存该DC
      

  3.   

    等于没说啊,我要知道怎么弄就不问了...CxImage *newima = new CxImage();
    newima->Load("c:\\temp.bmp", CXIMAGE_FORMAT_BMP); // 调用图像
    CDC *dc=GetDC();
    dc->TextOut (100,100,"hello");//通过dc在图像上100,100处显示了一个hello字符串
    newima->Save("c:\\temp.bmp", CXIMAGE_FORMAT_BMP); //保存图像hello字符串没有保存下来,怎么办?
    如何使hello保存在图片上