Description
Updates the image of an item in a list box with bitmaps.
Applies to
List box, combo box (with bitmaps).
Syntax
imageStructOld = Send_Message(controlID, "UPDATE", position [, imageStructNew ])
Parameters
For UPDATE, the Send_Message function has the following parameters.
Parameters | Description |
---|---|
ControlID | Same information as contained in the ctrlentID variable, from an event handler. The structure is Parent.Object, where Parent is the window identifier, and Object is the name of the control, and where Parent and Object are delimited by a period. |
Position | Item position in a list, beginning with 1. |
ImageStructOld/ImageStructNew | A comma-delimited array of image definitions. Image definition has a structure of: <image Number>['_'<image Column>] If <imageColumn> is omitted, it is equal to 1. |
Example
/* the picture for the first item in a list box will have a second image of a bitmap in image column 1. */ Send_Message (listBox, "UPDATE", 1, "2 - 1")