Modify

Opened 17 years ago

Closed 17 years ago

Last modified 17 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 by TicketCleanup, 17 years ago

Severity: BlockingNone

Automatic ticket cleanup.

comment:2 by Gary, 17 years ago

Resolution: Works For Me
Status: newclosed

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.

in reply to:  2 comment:3 by Tlem, 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.

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.