Modify ↓
Opened 7 years ago
Closed 6 years ago
#3685 closed Feature Request (Works For Me)
_GUICtrlTreeView_GetItemParam should use item handle instead of control id as 2nd parameter
| Reported by: | Nine | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | None | |
| Keywords: | Cc: |
Description
_GUICtrlTreeView_GetItemParam ($hTreeView, $hItem)
When created with GUICtrlCreateTreeViewItem param is set to the control id of the item, which is nice. But to get the param control id you need to provide as $hItem the control id , making its use pretty much useless...
That is why $hItem should be the handle of the item, then it would be very nice to obtain the control id using this function.
Attachments (0)
Change History (2)
comment:1 by , 7 years ago
comment:2 by , 6 years ago
| Resolution: | → Works For Me |
|---|---|
| Status: | new → closed |
this function use bothhandle and ControlId
Note:
See TracTickets
for help on using tickets.

If you have created the item with the native command and as a result the parameter is used by AutoIt to store the ControlID, why do you as the user need to obtain this ControlID value? What value does it offer?
And if it is necessary, you can get the ControlID of the selected item using GUICtrlRead - other options are also available.
M23