@FindWindowEX = Win32API.new('user32','FindWindowEx','%w(l,l,p,p)','L')
@circle = Win32API.new('gdi32','CreateEllipticRgn','llll','l')
@hWnd = @FindWindowEX.call(0,0,nil,'test')
@windows = Win32API.new('user32','SetWindowRgn','lll','l')
@windows.call(@hWnd,@circle.call(10,10,640,480),1)
@FindWindowEX = Win32API.new('user32','FindWindowEx','%w(l,l,p,p)','L')
@circle = Win32API.new('gdi32','CreateEllipticRgn','llll','l')
@hWnd = @FindWindowEX.call(0,0,nil,'test')
@windows = Win32API.new('user32','SetWindowRgn','lll','l')
@windows.call(@hWnd,@circle.call(10,10,640,480),1)
以下引用金圭子于2007-3-23 16:24:25的发言:
嗯,这个和用图片做外围的遮罩的主要区别是?
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |