What is the syntax to specify a particular window and listview control?
For example, how would I use the F1 hotkey to make changes to the 3rd listview on Gui2 in the code below?
Code: Select all
Loop, 5 {
Gui, New, % "+hwndGui" A_Index
Loop, 5 {
Gui, Add, Listview, % "+hwndListview" A_Index
}
Gui, Show
}
F1::
LV_ModifyCol( 2 , 200 )
LV_Delete()
LV_Add( "" , "Add" , "ControlType := ""Button""" , "options := """"" )
return
I want to replace the a listbox control with a listview control.
. .
I am using this structure.
. .
and this is how it functions.
. .
Code: Select all
project := This.SelectedProject
window := This.Projects[ project ].SelectedWindow
element := This.Projects[ project ].Windows[ window ].SelectedWindowElement
This.Projects[ project ].Windows[ window ].WindowElements[ element ].ElementType := "Add"
This.Projects[ project ].Windows[ window ].WindowElements[ element ].Param1 := "Blah blah"
This.Projects[ project ].Windows[ window ].WindowElements[ element ].Param2 := "Blah blah"