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 Melba23, 7 years ago

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

comment:2 by J-Paul Mesnage, 6 years ago

Resolution: Works For Me
Status: newclosed

this function use bothhandle and ControlId

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.