Modify

Opened 16 years ago

Closed 16 years ago

#1601 closed Bug (Fixed)

_GUIImageList_AddIcon returns wrong value if failed

Reported by: doudou Owned by: J-Paul Mesnage
Milestone: 3.3.7.0 Component: Standard UDFs
Version: 3.3.6.1 Severity: None
Keywords: Cc:

Description

In contradiction to documentation and to how MSDN describes the corr. macro ImageList_AddIcon() _GUIImageList_AddIcon() returns 0 on failure:

If $iRet = -1 Then Return SetError(-2, $iRet, 0)

It is also inconsistent with _GUIImageList_Add(), _GUIImageList_AddMasked() and _GUIImageList_AddBitmap().

Attachments (0)

Change History (1)

comment:1 by J-Paul Mesnage, 16 years ago

Milestone: 3.3.7.0
Owner: changed from Gary to J-Paul Mesnage
Resolution: Fixed
Status: newclosed

Fixed by revision [5791] in version: 3.3.7.0

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


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