Modify

Opened 16 years ago

Closed 16 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 Changed 16 years ago by Gary

  • Resolution set to No Bug
  • Status changed from new to closed

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.

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.