Modify ↓
Opened 6 years ago
Closed 5 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 Changed 6 years ago by Melba23
comment:2 Changed 5 years ago by Jpm
- Resolution set to Works For Me
- Status changed from new to closed
this function use bothhandle and ControlId
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
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