Всем доброго времи суток.
Возможно ли в AUTOIT осуществить множественный выбор в listview как в Windows, т.е. при помощи мыши, удерживая клавишу CTRL?
Вот заготовка:
Возможно ли в AUTOIT осуществить множественный выбор в listview как в Windows, т.е. при помощи мыши, удерживая клавишу CTRL?
Вот заготовка:
Код:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <GuiListView.au3>
$Form1 = GUICreate("Form1", 315, 285, 243, 180)
$Button1 = GUICtrlCreateButton("Button1", 224, 232, 75, 25)
; ListView
$hListView=_GUICtrlListView_Create($Form1, "", 16, 16, 282, 190)
_GUICtrlListView_SetExtendedListViewStyle($hListView, BitOR($LVS_EX_GRIDLINES, $LVS_EX_FULLROWSELECT, $LVS_EX_SUBITEMIMAGES))
; Содать Названия Колонок
_GUICtrlListView_InsertColumn($hListView, 0, "Name", 150)
_GUICtrlListView_InsertColumn($hListView, 1, "Description", 95)
; Добавить запись в ListView
_GUICtrlListView_AddItem($hListView,'test')
_GUICtrlListView_AddItem($hListView,'test2')
_GUICtrlListView_AddItem($hListView,'test3')
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd