L_DlgSetString

Summary

Sets the new string for the specified index in order to change the dialogs strings.

Syntax

#include "l_bitmap.h"

L_LTDLG_API L_INT L_DlgSetString(uString, pszString)

Parameters

L_UINT32 uString

Index into a list of strings. For a list of the strings, refer to Dialog Strings.

L_TCHAR * pszString

Character string that contains the new string to set.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

To retrieve the character string for a specified index, use L_DlgGetStringLen to determine the length of the string and to allocate a buffer of appropriate size. Then call L_DlgGetString to retrieve the string.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to L_DlgSetFont.

Help Version 22.0.2023.2.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Common Dialog C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.