Modify

Opened 5 years ago

Closed 4 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 5 years ago by Melba23

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 Changed 4 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.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.