Burgaud Posted April 10, 2018 Posted April 10, 2018 $cListView = GUICtrlCreateListView("Column 1|Column 2|Column 3", 5, 2, 590, 200, -1, BitOR($LVS_EX_GRIDLINES, $LVS_EX_FULLROWSELECT)) $hListView = GUICtrlGetHandle($cListView) $cListView is a controlID $hListView is a handle what and how are they different? and why must they be separate/different? are they array? pointer? pointer to a pointer?
Danp2 Posted April 11, 2018 Posted April 11, 2018 This has been discussed in the past. Here's one example -- Latest Webdriver UDF Release Webdriver Wiki FAQs
Burgaud Posted April 11, 2018 Author Posted April 11, 2018 If I understand it correctly: ControlIDs are index to an array of handles, while handle points to the actual data structure. (more or less). If there is a GUICtrlGetHandle function, is there a reverse of it? (though not sure If I need it). ; Check handle If Not IsHWnd($hWnd) Then $hWnd = GUICtrlGetHandle($hWnd) If Not IsHWnd($hWnd) Then thanks!
Danp2 Posted April 11, 2018 Posted April 11, 2018 Go back and reread the thread... Latest Webdriver UDF Release Webdriver Wiki FAQs
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now