|
发表于 2016-3-16 19:24:13
|
显示全部楼层
要在GUICtrlCreateListView预留:||
$ListView1 = GUICtrlCreateListView("ID|第一列|第二列|第三列|第四列|第五列|第六列 ||||||", 10, 10, 840, 350, $LVS_REPORT, $WS_EX_CLIENTEDGE);, -1, BitOR($WS_EX_CLIENTEDGE, $LVS_EX_FULLROWSELECT, $LVS_REPORT))
$hListview1 = GUICtrlGetHandle($ListView1)
_GUICtrlListView_SetColumn($ListView1, 0, 'ID', 50, 2)
_GUICtrlListView_SetColumn($ListView1, 1, '第一列', 80, 2)
_GUICtrlListView_SetColumn($ListView1, 2, '第二列', 80, 2)
_GUICtrlListView_SetColumn($ListView1, 3, '第三列', 80, 2)
_GUICtrlListView_SetColumn($ListView1, 4, '第四列', 80, 2)
_GUICtrlListView_SetColumn($ListView1, 5, '第五列', 80, 2)
_GUICtrlListView_SetColumn($ListView1, 6, '第六列', 80, 2)
是这样吗? |
|