两个函数的比较 BitBlt是GDI函数;pDdb->Draw()应该是某个类的成员函数,不知道。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 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的函数参数设置也可以发现 主线程如何等待子线程的结束?(非阻塞等待) CLabel类,有些字体设置不成功。 InvalidateRect()的问题 一个关于GETPIXEL()的问题 请知道的人帮帮忙 为什么工程只编译一个文件,是什么问题?重新加入文件,就好了?为什么 问一个关于头文件的保存问题 让人见笑的问题 写个程序是不是一定要建个工程? 迟迟未能下的决心 来吧,让我们把VC变简单 关于线程 windowproc 的问题,请教高手解答 使用Win32函数向操作系统动态申请一块自己定义大小的内存
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的函数参数设置也可以发现