Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS Common Dialog C DLL Help

L_DlgSetString

Show in webframe

#include "l_bitmap.h"

L_LTDLG_API L_INT L_DlgSetString(uString, pszString)

L_UINT32 uString;

/* index of a string */

L_TCHAR * pszString;

/* character string that contains the string to set */

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

Parameter

Description

uString

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

pszString

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 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

LTDLGKRN
LTKRN

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:

L_DlgGetStringLen, L_DlgGetString, L_DlgSetFont

Topics:

Dialogs: Maintenance and General Use

 

Using Imaging Common Dialog

Example

For an example, refer to L_DlgSetFont.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.