Modify

Opened 17 years ago

Closed 17 years ago

#995 closed Bug (No Bug)

_GUICtrlTreeView_SetFocused

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

Description

Sorry to re-create a new ticket, but Gary close the previous ticket http://www.autoitscript.com/trac/autoit/ticket/948 without asking what about.

I create a new thread in forum (http://www.autoitscript.com/forum/index.php?showtopic=94911) to have an answer but no response ...
I send him a private message without response too.

So, after 3 weeks, this is the reason of this new ticket :
I know that focused doesn't mean highlighted, but what _GUICtrlTreeView_SetFocused is supposed to do graphically?
Like I said here : http://www.autoitscript.com/forum/index.php?showtopic=94911&view=findpost&p=683936
I think that a focused element must be represented by a transparent rectangle on this element.

So if I'm wrong, sorry for the disturbing, but this question is important for me.

Attachments (0)

Change History (1)

comment:1 by Gary, 17 years ago

Resolution: No Bug
Status: newclosed

http://msdn.microsoft.com/en-us/library/aa452683.aspx

TVIS_FOCUSED is a CE item state even though the author of the UDF included it in his functions.

Although it isn't listed as a regular windows treeview item state it does work although it doesn't set the rectangle around the item like CE does.

Therefore if you want the item to have focus and show it in a regular windows item use _GUICtrlTreeView_SetSelected as I suggested before.

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.