SRGDragListBox::ReplaceItemString

BOOLSRGDragListBox::ReplaceItemString(intnIndex, LPCTSTRlpszNew)

Change the string with the given index to the new string. If the new string is already use by other item in the list, it will not change and return FALSE.

Defined in: SRGWzDisplay.cpp

Return Value

BOOL Return TRUE if it actully changed the string, otherwise FALSE.

Parameters

nIndex

zero-based index of the item to change.

lpszNew

The new string to replace the old one.