http://msdn.microsoft.com/zh-cn/ms679346
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 334, 209, 496, 386)
$Button1 = GUICtrlCreateButton("任务栏闪烁", 128, 88, 75, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
DllCall('User32.dll', 'BOOL', 'FlashWindow', _
'ptr', $Form1, _
'BOOL', True)
EndSwitch
WEnd
|