LEADTOOLS Vector C++ Class Library Help > Classes and Member Functions > LVectorDialog > LVectorDialog Class Members > LVectorDialog::SetString |
#include "ltwrappr.h"
static L_INT LVectorDialog::SetString(uString, pString)
L_UINT32 uString; |
/* index of a string */ |
L_TCHAR * pString; |
/* character string that contains the string to set */ |
Sets the new string for the specified index.
Parameter |
Description |
uString |
Index into a list of strings. For a list of the strings, refer to Dialog Strings. |
pString |
Character string that contains the new string to set. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
To retrieve the character string for a specified index, use LVectorDialog::GetStringLen to determine the length of the string and to allocate a buffer of appropriate size. Then call LVectorDialog::GetString to retrieve the string.
Required DLLs and Libraries
LVKRN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
See Also
Functions: |
LVectorDialog::GetStringLen, LVectorDialog::GetString, Class Members |
Topics: |
Example
For an example, refer to LVectorDialog::GetString.