#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
Dim $ck=0
$Form1 = GUICreate("Form1", 137, 146, 404, 273)
$Label1 = GUICtrlCreateLabel("联系我们", 40, 40, 52, 16)
GUICtrlSetFont(-1, 9, 400, 0, "宋体")
GUICtrlSetCursor (-1, 0)
GUISetState(@SW_SHOW)
While 1
$info=GUIGetCursorInfo ($Form1)
If $info[4]=$Label1 And $ck=0 Then
GUICtrlSetFont(-1, 9, 400, 4, "宋体")
GUICtrlSetColor(-1, 0x0000FF)
$ck=1
ElseIf $info[4]<>$Label1 And $ck=1 Then
GUICtrlSetFont(-1, 9, 400, 0, "宋体")
GUICtrlSetColor(-1, 0x000000)
$ck=0
EndIf
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
|