BitBlt是GDI函数;pDdb->Draw()应该是某个类的成员函数,不知道。

解决方案 »

  1.   

    BitBlt是GDI函数,MSDN是这样定义的BOOL BitBlt(
      HDC hdcDest, // handle to destination device context
      int nXDest,  // x-coordinate of destination rectangle's upper-left 
                   // corner
      int nYDest,  // y-coordinate of destination rectangle's upper-left 
                   // corner
      int nWidth,  // width of destination rectangle
      int nHeight, // height of destination rectangle
      HDC hdcSrc,  // handle to source device context
      int nXSrc,   // x-coordinate of source rectangle's upper-left 
                   // corner
      int nYSrc,   // y-coordinate of source rectangle's upper-left 
                   // corner
      DWORD dwRop  // raster operation code
    );
    Draw碎也是DDB位图绘入客户区,但它并不能指定绘制的位置和大小,还得要自己添加,而BitBlt则不然,你看MSDN的函数参数设置也可以发现