Modify ↓
#3605 closed Bug (Fixed)
the function _GUICtrlListView_SetBkImage() does not accept control ID
| Reported by: | Owned by: | J-Paul Mesnage | |
|---|---|---|---|
| Milestone: | 3.3.15.1 | Component: | AutoIt |
| Version: | 3.3.14.3 | Severity: | None |
| Keywords: | _GUICtrlListView_SetBkImage | Cc: |
Description
The help for the function _GUICtrlListView_SetBkImage() in the description of the first parameter is as follows:
"$hWnd - Control ID/Handle to the control",
but in fact the function will not work with Control ID since the following line is present inside it:
Func _GUICtrlListView_SetBkImage($hWnd, $sURL = "", $iStyle = 0, $iXOffset = 0, $iYOffset = 0) ; ... If Not IsHWnd($hWnd) Then Return SetError($LV_ERR, $LV_ERR, False) ; ...
Attachments (0)
Change History (4)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
If completely remove this line, then the function will work fine with the control ID created using the GUICtrlCreateListView()
comment:3 by , 8 years ago
| Milestone: | → 3.3.15.1 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Fixed by revision [11997] in version: 3.3.15.1
Note:
See TracTickets
for help on using tickets.

If you change this "If Not" line by
does it work for you I don't have any script to verify
Thanks for the help