Modify ↓
Opened 15 years ago
Closed 15 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 Changed 15 years ago by Valik
- Severity changed from None to Blocking
comment:2 Changed 15 years ago by Valik
- Milestone set to 3.3.1.6
- Owner changed from Gary to Valik
- Resolution set to Fixed
- Status changed from new to closed
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.
Note: See
TracTickets for help on using
tickets.
Fixed by revision [5415] in version: 3.3.1.6