Opened 14 years ago

Closed 14 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: Component: Standard UDFs
Version: Severity: Blocking
Keywords: Cc:


"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 Changed 14 years ago by Valik

  • Severity changed from None to Blocking

comment:2 Changed 14 years ago by Valik

  • Milestone set to
  • Owner changed from Gary to Valik
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [5415] in version:

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

as closed The owner will remain Valik.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.