| 发表于:2007-01-11 18:39:001楼 得分:0 |
声明一个bmp,里面有你所有的图像 bool bitblt( hdc hdcdest, // handle to destination dc int nxdest, // x-coord of destination upper-left corner int nydest, // y-coord of destination upper-left corner int nwidth, // width of destination rectangle int nheight, // height of destination rectangle hdc hdcsrc, // handle to source dc int nxsrc, // x-coordinate of source upper-left corner int nysrc, // y-coordinate of source upper-left corner dword dwrop // raster operation code ); int nxdest,int nydest这两个值表示图像显示的位置,不用动 int nxsrc, int nysrc 这两个值表示原bmp图片中显示图像的位置,改它 height和width不用动,它是大小,自己看吧 | | |
|