Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#948 closed Bug (Works For Me)

_GUICtrlTreeView_SetFocused

Reported by: Tlem Owned by:
Milestone: Component: AutoIt
Version: 3.3.0.0 Severity: None
Keywords: Cc:

Description

_GUICtrlTreeView_SetFocused seems to not working properly.
If I try the example of the help file, the item 4 is never focused, but item 1 yes ...
If I change the handle of item manually, other items can't be focused.

I search on forum for other example, but there was only one message with this function, and it didn't answer to me.

So I make search in GuiTreeView.au3 and discover that _GUICtrlTreeView_SetFocused call _GUICtrlTreeView_SetState function with $TVIS_FOCUSED variable.

But if I play with this function, the focused state can't be applying (And in the example, the item 1 is always selected).
I try to de-selected and de-focused item 1 and make item 4 focused, but doesn't work too.

Did I mis something ?

Attachments (0)

Change History (3)

comment:1 Changed 15 years ago by TicketCleanup

  • Severity changed from Blocking to None

Automatic ticket cleanup.

comment:2 follow-up: Changed 15 years ago by Gary

  • Resolution set to Works For Me
  • Status changed from new to closed

Works for me.

I think your confusing it with _GUICtrlTreeView_SelectItem.

Just because an item has focus doesn't mean it is highlighted.

Questions should be submitted on the forum.

comment:3 in reply to: ↑ 2 Changed 15 years ago by Tlem

I submitted the question on the forum with more explication, but no response ...

I consider the problem as not resolute because I'm not in confusion between selected and focused.

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.