ADDSTRING

Top  Previous  Next

Syntax

ADDSTRING(win as WINDOW,id as UINT,str as STRING)

Description

Adds a string to a list box or combo box control

Parameters

win - WINDOW or DIALOG containing the control

id - Identifier of the control

str - String to add to the control

Return value

None

Remarks

String is added to the end of the list unless sorting is specified in the style of the control.

See Also: INSERTSTRING, DELETESTRING

Example usage

ADDSTRING mydlg, 10, "New text"