Does this also mean that other parameters that accept gui variables or ClassNNs (such as Gui, ListView) will work with window handles? Or is the implementation specific to these two commands?
Changed GuiControl and GuiControlGet to allow a HWND to be passed in the ControlID parameter.
Anything which uses GuiType::FindControl() now supports identifying a control by HWND. This includes GuiControl, GuiControlGet and Gui ListView/TreeView.
It might be good idea to change the documentation to include that you can use the HWND directly instead of ClassNN or associated variable. i.e. in help, section "Built-in Functions for ListViews."
If the window has more than one ListView control, by default the functions operate upon the one most recently added. To change this, specify Gui, ListView, ListViewName, where ListViewName is the name of the ListView's associated variable or its ClassNN as shown by Window Spy. Once changed, all existing and future threads will use the indicated ListView
Amazing work as usual. Thanks!