#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 by , 17 years ago
| Severity: | Blocking → None |
|---|
follow-up: 3 comment:2 by , 17 years ago
| Resolution: | → Works For Me |
|---|---|
| Status: | new → 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 by , 17 years ago
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.

Automatic ticket cleanup.