Im trying to modify only a selected row by using Menu (mouse right click),
problem is i know how to modify only a specific row (below script modify only the 2nd row)
so which variable should in use in LV_Modify instead 2 to modify each selected row?
Thanks!
Code: Select all
#NoEnv
Gui, Add, ListView, Grid vMyListView2 HwndHLV, Status1|Status2
Menu, MyContextMenu, Add, Hii, Context
LV_Add("" ,"test1")
LV_Add("" ,"test2")
LV_Add("" ,"test3")
LV_Add("" ,"test4")
Gui Show,
return
GuiContextMenu:
if A_GuiControl <> MyListView2
return
Menu, MyContextMenu, Show
return
Context:
LV_Modify(2,,, "You choose hii")
return
esc::
GuiClose:
ExitApp