Modify

Opened 10 months ago

Last modified 10 months ago

#3685 new Feature Request

_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 (1)

comment:1 Changed 10 months 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

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 new 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.