不清楚
以下编译通过,效果应一样吧#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <ListViewConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=E:\程序设计\加密解密\Form12.kxf
$Form1 = GUICreate("Form1", 492, 414, 192, 114)
$ListView1 = GUICtrlCreateListView("名称|IP|密码", 48, 72, 401, 249, -1, BitOR($LVS_SHOWSELALWAYS,$LVS_SINGLESEL,$LVS_EX_GRIDLINES))
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 0, 100)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 1, 150)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 2, 150)
$Button1 = GUICtrlCreateButton("连接", 57, 32, 89, 25)
$Button2 = GUICtrlCreateButton("添加连接", 193, 32, 89, 25)
$Button3 = GUICtrlCreateButton("删除连接", 337, 32, 89, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
默认值(-1):$LVS_SHOWSELALWAYS, $LVS_SINGLESEL
$GUI_SS_DEFAULT_LISTVIEW 好象没有声明 |