XLL+ Class Library (6.3)

CXlControlListBox::GetItemDataPtr

Returns a pointer to a list-box item

void* GetItemDataPtr(
   int nIndex
) const;

Parameters

nIndex

Specifies the zero-based index of the item in the list box.

Return Value

Retrieves a pointer, or -1 if an error occurs.

Remarks

Retrieves the application-supplied 32-bit value associated with the specified list-box item as a pointer (void*).

Requirements

Header: xldialog.h

See Also

CXlControlListBox Class | CXlControlListBox Methods