Modify

Opened 16 years ago

Closed 16 years ago

#1290 closed Bug (Fixed)

_GUICtrlTreeView_DisplayRectEx with "$fTextOnly = True" returns same "Left" value as when "False"

Reported by: ResNullius Owned by: Valik
Milestone: 3.3.1.6 Component: Standard UDFs
Version: 3.3.1.5 Severity: Blocking
Keywords: Cc:

Description

"Left" value when the $ftextOnly parameter is "True" returns 0, same as when set to "False".

I think it's the 2nd to last line in the function

If $iRet Then DllStructSetData($tRect, "Left", 0)

$iRet appears to always be 1 on success, but this line sets it to 0.

If I comment out this line and $ftextOnly is True, it returns expected/proper "Left" value for the text of the item.

Perhaps this is meant to be

If NOT $iRet Then DllStructSetData($tRect, "Left", 0)

Attachments (0)

Change History (2)

comment:1 by Valik, 16 years ago

Severity: NoneBlocking

comment:2 by Valik, 16 years ago

Milestone: 3.3.1.6
Owner: changed from Gary to Valik
Resolution: Fixed
Status: newclosed

Fixed by revision [5415] in version: 3.3.1.6

Modify Ticket

Action
as closed The owner will remain Valik.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.