Burgaud Posted April 10, 2018 Share 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? Link to comment Share on other sites More sharing options...
Danp2 Posted April 11, 2018 Share Posted April 11, 2018 This has been discussed in the past. Here's one example -- Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Burgaud Posted April 11, 2018 Author Share 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! Link to comment Share on other sites More sharing options...
Danp2 Posted April 11, 2018 Share Posted April 11, 2018 Go back and reread the thread... Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
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