+ -
当前位置:首页 → 问答吧 → 怎么在指定坐标位置显示一幅位图

怎么在指定坐标位置显示一幅位图

时间:2011-11-29

来源:互联网

跟BOOL DrawIcon(HDC hDC,int X,int Y, HICON hlcon );函数类似的
我现在没有icon图片只有位图的不知道用哪个函数处理
或怎么把位图变为icon图标处理?

作者: djh512   发布时间: 2011-11-29

BOOL BitBlt ( 
int x, 
int y, 
int nWidth, 
int nHeight, 
CDC* pSrcDC, 
int xSrc, 
int ySrc, 
DWORD dwRop ); 
或者
BOOL StretchBlt( int x, int y, int nWidth, int nHeight, CDC* pSrcDC, int xSrc, int ySrc, int nSrcWidth, int nSrcHeight, DWORD dwRop );

作者: CButtonST   发布时间: 2011-11-29