代码拉取完成,页面将自动刷新
' Trans Form 透明窗口
' Copyright (c) 2024 CM.Wang
' Freeware. Use at your own risk.
#include once "win\GdiPlus.bi"
'建立gdip透明窗口
Type gdipForm
'UpdateLayeredWindow
hScrDC As HDC
hMemDC As HDC
hOldDC As HDC
ULWpptDst As Point
ULWpsize As tagSIZE
ULWpptSrc As Point
ULWcrKey As COLORREF
ULWpblend As BLENDFUNCTION
bmHeader As BITMAPINFO
hHBitmap As HBITMAP
mBitmap As GpBitmap Ptr
mImage As GpImage Ptr
sHeight As Single
sWidth As Single
mGraphics As GpGraphics Ptr
mEnabled As Boolean
mHandle As HWND
mBackColor As ARGB = &hFF808080
Declare Constructor
Declare Destructor
Declare Sub Create(Handle As HWND, Img As GpImage Ptr)
Declare Sub DrawImage(sImg As GpImage Ptr, sX As Single = 0, sY As Single = 0)
Declare Sub Initial()
Declare Sub Release()
Declare Property Enabled() As Boolean
Declare Property Enabled(val As Boolean)
Declare Property Graphic() As GpGraphics Ptr
Declare Sub Transform(ByVal Alpha As Integer = 255)
End Type
#ifndef __USE_MAKE__
#include once "gdipForm.bas"
#endif
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。