This DLL can be used to change a line in or insert a line into a list box, dropdown list box, combination box or drop combination box.
The following routines are supplied in lbinsert.inc:
subroutine InsertIntoLBAtLine(integer: Handle,
string: EString,
integer: LineNo)
library "lbinsert"
subroutine ChangeLBAtLine(integer: Handle,
string: EString,
integer: LineNo)
library "lbinsert"
Where
Handle is the handle of the object you want to insert/change,
String is the new text, and
LineNo is where the insert/change is to occur.
The DLL doesn't check for an invalid handle, thus it is up to the user to pass in a valid handle in order to avoid protection violations.
A sample ESL program is provided, which also encapsulates the calls to the dll into more generic subroutines.