病毒专收员 发表于 2009-4-7 03:36:28

GUICtrlCreateListView 如何捕获消息?

如何才能捕获 $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

病毒专收员 发表于 2009-4-7 03:37:34

:face (35): 等待高人的授教~`

ceoguang 发表于 2009-4-7 04:52:21

捕获什么消息?

techbytnt 发表于 2009-4-7 10:07:23

捕获什么消息?

seebbs 发表于 2009-6-22 00:39:35

:face (2):

jale 发表于 2009-6-22 08:45:45

Func gui()
                Switch @GUI_CtrlId
                        Case $GUI_EVENT_CLOSE

                        Case $AL1_setting ;更新
页: [1]
查看完整版本: GUICtrlCreateListView 如何捕获消息?