msgbox可以改变位置么?
本帖最后由 tryhi 于 2011-1-5 19:29 编辑msgbox可以改变显示的位置么?
就这个吧,2楼代码,惭愧!$Timer = DllCallbackRegister("Timer", "int", "hwnd;uint;uint;dword")
$TimerDLL = DllCall("user32.dll", "uint", "SetTimer", "hwnd", 0, "uint", 0, "int", 5000, "ptr", DllCallbackGetPtr($Timer))
$Timer2 = DllCallbackRegister("Timer", "int", "hwnd;uint;uint;dword")
$Timer2DLL = DllCall("user32.dll", "uint", "SetTimer", "hwnd", 0, "uint", 0, "int", 8000, "ptr", DllCallbackGetPtr($Timer2))
$Timer3 = DllCallbackRegister("Timer", "int", "hwnd;uint;uint;dword")
$Timer3DLL = DllCall("user32.dll", "uint", "SetTimer", "hwnd", 0, "uint", 0, "int", 10000, "ptr", DllCallbackGetPtr($Timer3))
While 1
GUIGetMsg()
WEnd
Func Timer($hWnd, $uiMsg, $idEvent, $dwTime)
If $idEvent = $TimerDLL Then
MsgBox(0,"","线程1")
ElseIf $idEvent = $Timer2DLL Then
MsgBox(0,"","线程2")
ElseIf $idEvent = $Timer3DLL Then
MsgBox(0,"","线程3")
EndIf
EndFunc 作为高级会员,你居然不知道搜索? 本帖最后由 tryhi 于 2011-1-5 13:59 编辑
作为高级会员,你居然不知道搜索?
ceoguang 发表于 2011-1-5 13:40 http://www.autoitx.com/images/common/back.gif
搜索过了,答案似乎是不可以,除非多线程移动,但不肯定,惭愧! 看来你还没认真的搜索过
http://www.autoitx.com/forum.php?mod=viewthread&tid=13550&rpid=184278&ordertype=0&page=3#pid184278 本帖最后由 tryhi 于 2011-1-5 19:35 编辑
多谢版主帮忙……
原来用钩子。。。
页:
[1]