module1.bas

来自「150个经典VB API应用实例.全部是运用API写的小程序」· BAS 代码 · 共 28 行

BAS
28
字号
Attribute VB_Name = "Module1"
Public Declare Function AlphaBlend Lib "msimg32" _
( _
    ByVal hDestDC As Long, _
    ByVal x As Long, ByVal y As Long, _
    ByVal nWidth As Long, ByVal nHeight As Long, _
    ByVal hSrcDC As Long, _
    ByVal xSrc As Long, ByVal ySrc As Long, _
    ByVal widthSrc As Long, ByVal heightSrc As Long, _
    ByVal blendFunct As Long _
    ) As Boolean

Public Type rBlendProps
    tBlendOp As Byte
    tBlendOptions As Byte
    tBlendAmount As Byte
    tAlphaType As Byte
End Type


Public Declare Sub CopyMemory Lib "kernel32" _
Alias "RtlMoveMemory" _
( _
    Destination As Any, Source As Any, _
    ByVal Length As Long)


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?