[转载] 透明bitblt,一定度透明Alpha
Option Explicit '//WINGDIAPI BOOL WINAPI TransparentBlt(HDC,int,int,int,int,HDC,int,int,int,int,UINT);
Private Declare Function TransparentBltAPI Lib "msimg32.dll" Alias "TransparentBlt" _
(ByVal hdcDest As Long, ByVal x As Long, ByVal y As Long, _
ByVal nWidth As Long, ByVal nHeight As Long, _
ByVal hdcSrc As Long, ByVal xSrc As Long, ByVal ySrc As Long, _
ByVal nWidthSrc As Long, ByVal nHeightSrc As Long, _
ByVal crTrans As Long) As Boolean
'==================================================================================
'//
'// 基本 API 实现 TransparentBlt
'//
'==================================================================================
詳細請見下麵的TXT
[此贴子已经被作者于2006-12-18 17:17:41编辑过]