Fuente/ Codesnippets | | | |  | Manchmal benötigt uno una muy schnelles y flexibles drawPic el auch sin StartPaint auskommt:
MSDN: bitBlt: [...]  KompilierenMarcaSeparaciónnProc drawhPic(long hPic,dc,x,y,xx,yy,dwROP){
long hDCBits=createCompatibleDC(hDC)
selectObject(hDCBits, hPic)
bitBlt(dc,x,y,xx,yy,hDCBits,0,0,dwROP)
deleteDC(hDCBits)
t>
MSDN: transparentBlt: [...]  KompilierenMarcaSeparaciónnProc drawhPicTransparent(long hPic,dc,x,y,xx,yy,col){
long hDCBits=createCompatibleDC(hDC)
selectObject(hDCBits, hPic)
transparentBlt(dc,x,y,xx,yy,hDCBits,0,0,xx,yy,col)
deleteDC(hDCBits)
}
|
| | | | |
| |  | Um drawhPicTransparent erweitert. |
| | | | |
|
Zum QuelltextThemeninformationenDieses Thema ha 1 subscriber: |
|