是Hotmail + Windows Messager 吧,真不知大家为何要叫她MSN,人家
明明是Messager。
这种效果很简单:
Step1:在API Text Viewer中把Sleep函数复制到您的Project中,然后用do
me.top = me.top - px
sleep time
doevents
loop until me.top = SSpx为平滑度,最小为1,越小越平滑
time为速度,越小越慢
明明是Messager。
这种效果很简单:
Step1:在API Text Viewer中把Sleep函数复制到您的Project中,然后用do
me.top = me.top - px
sleep time
doevents
loop until me.top = SSpx为平滑度,最小为1,越小越平滑
time为速度,越小越慢
解决方案 »
- 请问在COMBO里面剔除一样的字段啊
- 紧急!!!为什么在窗口load的时候读一个空文本文件会报‘输入超出文件尾’呢
- 用 internet transfer 做客户端FTP上传应该怎样得到上传进度?
- 如何实现与摄像头交互??
- 如何用vb編程實現自動斷開adsl
- spread 注册问题,安装时输入注册码与安装后输入注册码的区别
- to 求各种代理协议详细资料(FUNDGIRL)
- 修改注册表的问题!!!!!
- 我在Excel里选定了一些单元格,请问如何得到其中的内容?
- 请给位推荐几本VB的书!!!
- 吐血推荐: Move and Resize Controls at Run-Time (Like the VB IDE).
- 读取文本文件的代码
第一个回复最后一行应为:
time为速度,越小越快
再用GetWindowRect等函数取得任务栏的信息
Private Declare Function SHAppBarMessage Lib "shell32.dll" (ByVal dwMessage As Long, pData As APPBARDATA) As Long
Private Declare Function GetWindowRect Lib "user32" (ByVal hwnd As Long, lpRect As RECT) As LongPrivate Type RECT
Left As Long
Top As Long
Right As Long
Bottom As Long
End TypePrivate Type APPBARDATA
cbSize As Long
hwnd As Long
uCallbackMessage As Long
uEdge As Long
rc As RECT
lParam As Long
End TypePrivate Const ABM_GETTASKBARPOS = &H5Private Sub Form_Load()
Dim data As APPBARDATA
Call SHAppBarMessage(ABM_GETTASKBARPOS, data)
Debug.Print "Left:" & data.rc.Left
Debug.Print "Top:" & data.rc.Top
Debug.Print "Right:" & data.rc.Right
Debug.Print "Bottom:" & data.rc.Bottom
If data.rc.Left <= 0 And data.rc.Bottom >= Screen.Height / Screen.TwipsPerPixelY And data.rc.Right >= Screen.Width / Screen.TwipsPerPixelX Then
Debug.Print "任务条在桌面下端"
End If
If data.rc.Left <= 0 And data.rc.Top <= 0 And data.rc.Right >= Screen.Width / Screen.TwipsPerPixelX Then
Debug.Print "任务条在桌面上端"
End If
If data.rc.Right < Screen.Width / Screen.TwipsPerPixelX Then
Debug.Print "任务条在桌面左端"
End If
If data.rc.Left > 0 Then
Debug.Print "任务条在桌面右端"
End If
End Sub