Hello,
It's possible to detect when the user clicks a listview cell?
For example, how can I show a msgbox when the user clicks on the cell "Tutti3"?
It's possible to detect when the user clicks a listview cell?
For example, how can I show a msgbox when the user clicks on the cell "Tutti3"?
[ autoit ]
#include <GUIConstantsEx.au3> #include <ListviewConstants.au3> Opt("GUIOnEventMode", 1) GUICreate("",850, 200) GUISetOnEvent($GUI_EVENT_CLOSE, "_ExitApp") $brosList = GUICtrlCreateListView("Cognome|Nome|Prova", 10, 10, 750, 100, Default, $LVS_EX_CHECKBOXES) GUICtrlCreateListViewItem("Ciao|Tutti|Hello", $brosList) GUICtrlCreateListViewItem("Ciao|Tutti2|Hello", $brosList) GUICtrlCreateListViewItem("Ciao|Tutti3|Hello", $brosList) GUICtrlCreateListViewItem("Ciao|Tutti4|Hello", $brosList) GUISetState() While 1 Sleep(10) WEnd Func _ExitApp() Exit EndFunc