Opened 15 years ago

Closed 15 years ago

#619 closed Bug (Fixed)

_GuiCtrlListView_SetItemSelected Problem (confirmed problem)

Reported by: anonymous Owned by: Gary
Milestone: Component: Standard UDFs
Version: Severity: None
Keywords: Cc:


Here was the original bug report -

In function _GUICtrlListView_SetItemSelected,has memory problem

$pMemory = _MemInit($hWnd, $iSize, $tMemMap)
_MemWrite($tMemMap, $pItem, $pMemory, $iSize)
$iResult = _SendMessage($hWnd, $LVM_SETITEMSTATE, $iIndex, $pItem, 0, "wparam", "ptr")

Where $pItem should be changed to $pMemory.

I confirmed the problem under Vista. Unless $pMemory is used, this function fails to set desktop items selected. Under XP I seem to remember it crashing explorer as well, but I can't re-test that.

Attachments (0)

Change History (3)

comment:1 Changed 15 years ago by wraithdu

Sorry, this is me, forgot to set my name for the post.

comment:2 Changed 15 years ago by Gary

  • Component changed from AutoIt to Standard UDFs
  • Owner set to Gary
  • Status changed from new to assigned

The previous bug report was ambiguous at best.

This will be fixed shortly.

comment:3 Changed 15 years ago by Gary

  • Milestone set to
  • Resolution set to Fixed
  • Status changed from assigned to closed

Fixed 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 Gary.

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

Note: See TracTickets for help on using tickets.