Gets the current string for the specified index.
#include "l_bitmap.h"
L_LTDLG_API L_INT L_DlgGetString(uString, pszString, sizeInWords)
Index into a list of strings. For a list of the strings, refer to Dialog Strings.
Pointer to the buffer to be updated with the current string.
Size of the pszString string buffer in words.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Before calling this function, call L_DlgGetStringLen to get the length of the text you want to retrieve.
Before calling this function, you must declare a variable as a pointer to a character string. You must allocate enough memory to hold the character string. Then, pass the variable in the pszString parameter. This function will update the variable with the character string at the given index.
For an example, refer to L_DlgSetFont.