19428.html
来自「以电子书的形式收集了VB一些常见问题解决方法,可以很方便的查找自己需要解决的问题」· HTML 代码 · 共 23 行
HTML
23 行
<html> <head> <title>Re: 他已关门了,怎办?</title> </head> <body bgcolor="#FFFFFF" vlink="#808080"> <center> <h1>Re: 他已关门了,怎办?</h1> </center><hr size=7 width=75%><hr size=7 width=75%><p>Posted by 土狗 on September 29, 1999 at 10:05:27:<p>In Reply to: <a href="19426.html">他已关门了,怎办?</a> posted by Tim on September 29, 1999 at 08:39:06:<p>以下的API及程式码应该都用得上<br>你自己去组合一下<br>做个timer跑跑看<p>Declare Function CreatePolygonRgn Lib "gdi32" (lpPoint As POINTAPI, ByVal nCount As Long, ByVal nPolyFillMode As Long) As Long<br>Declare Function SetWindowRgn Lib "user32" (ByVal hwnd As Long, ByVal hRgn As Long, ByVal bRedraw As Boolean) As Long<p>Declare Function SetWindowPos Lib "user32" _<br> (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, _<br> ByVal y As Long, ByVal cx As Long, ByVal cy As Long, _<br> ByVal wFlags As Long) As Long<p>Type POINTAPI<br> x As Long<br> y As Long<br>End Type<p>----------------------------------------<p> Call SetWindowPos(Me.hwnd, HWND_TOPMOST, 0, 0, 0, 0, FLAG)<br> Me.Move Xp, Yp<br>-------------------------------------------<p>hRegion = CreatePolygonRgn(PLoc(0), nxy, 1)<br>Call SetWindowRgn(FORM1.hwnd, hRegion, True)<p><br><br><br><hr size=7 width=75%><p><a name="followups">Follow Ups:</a><br><ul><!--insert: 19428--></ul><!--end: 19428--><br><hr size=7 width=75%><p></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?