XLL+ Class Library

CXlControlListBox::GetItemDataPtr

Returns a pointer to a list-box item

[C++]
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