在WIN98下用TransparentBlt会有内存泄漏,升级到WIN2K。

解决方案 »

  1.   

    TransparentBlt do have memory leak in 98, but there is no this problem in NT and 2000. at the same time, you'd better use the ReleaseDC for GetDC, and use DeleteObject in you DeleteDC in you code.
      

  2.   

    这个问题我也碰到过
    还是用掩图吧
    用Bitblt,速度还快
    缺点就是,你还要多画一个掩图
    NT 4.0好象没有msimg32.dll
      

  3.   

    http://www.devparadise.com/technoweb/code/vb/A155.asp
    http://www.mvps.org/vbnet/index.html?code/bitmap/transparent.htm
      

  4.   

    TechnoFantasy(www.applevb.com)    ,用中文详细点好吗?
      

  5.   

    junwhj(junwhj.51.net)
    详细点好吗?
      

  6.   

    非常感谢 junwhj(junwhj.51.net 的帮助,
      人人有份 永不落空
           感谢众位回复 ^_^