如何才能捕获 $TabSheet1 ,$TabSheet2 ,$TabSheet3 的消息.
并且在,$ListView1,$ListView2,$ListView3能循环转换?
HELP~```
#include <GUIConstantsEx.au3>
#include <ListViewConstants.au3>
#include <StaticConstants.au3>
#include <TabConstants.au3>
#include <WindowsConstants.au3>
$Form1 = GUICreate("测试", 648, 461, 189, 113)
$Pic1 = GUICtrlCreatePic("", 8, 0, 633, 65, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$Tab1 = GUICtrlCreateTab(8, 72, 633, 382)
GUICtrlSetFont(-1, 10, 400, 0, "Arial")
GUICtrlSetResizing(-1, $GUI_DOCKWIDTH+$GUI_DOCKHEIGHT)
$TabSheet1 = GUICtrlCreateTabItem("1号")
$ListView1 = GUICtrlCreateListView("", 8, 96, 633, 357)
$TabSheet2 = GUICtrlCreateTabItem("2号")
$ListView2 = GUICtrlCreateListView("", 9, 96, 631, 357)
$TabSheet3 = GUICtrlCreateTabItem("3号")
$ListView3 = GUICtrlCreateListView("", 10, 96, 630, 357)
GUICtrlCreateTabItem("")
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
|