List Boxes Messages (Windows Embedded CE 6.0)
1/6/2010
The following table shows the list box messages, with a description of the purpose of each.
Programming element | Description |
---|---|
This message is sent by an application to add a string to a list box. |
|
This message is sent by an application to delete a string in a list box. |
|
This message is sent by an application to find the first string in a list box that contains the specified prefix. |
|
This message is sent by an application to find the first list box string that matches the string specified in the lpszFind parameter. |
|
This message is sent by an application to retrieve the index of the anchor item. |
|
This message is sent by an application to determine the index of the item that has the focus rectangle in a multiple-selection list box. |
|
This message is sent by an application to retrieve the number of items in a list box. |
|
This message is sent by an application to retrieve the index of the currently selected item, if any, in a single-selection list box. |
|
This message is sent by an application to retrieve from a list box the width, in pixels, by which the list box can be scrolled horizontally — the scrollable width — if the list box has a horizontal scroll bar. |
|
This message is sent by an application to retrieve the application-defined 32-bit value associated with the specified list box item. |
|
This message is sent by an application to retrieve the height of items in a list box. |
|
This message is sent by an application to retrieve the dimensions of the rectangle that bounds a list box item as it is currently displayed in the list box. |
|
This message is sent by an application to retrieve the current locale of the list box. |
|
This message is sent by an application to retrieve the selection state of an item. |
|
This message is sent by an application to retrieve the total number of selected items in a multiple-selection list box. |
|
This message is sent by an application to fill a buffer with an array of integers that specify the item numbers of selected items in a multiple-selection list box. |
|
This message is sent by an application to retrieve a string from a list box. |
|
This message is sent by an application to retrieve the length of a string in a list box. |
|
This message is sent by an application to retrieve the index of the first visible item in a list box. |
|
This message allocates memory for storing list box items. |
|
This message is sent by an application to insert a string into a list box. |
|
This message is sent by an application to retrieve the zero-based index of the item nearest the specified point in a list box. |
|
This message is sent by an application to remove all items from a list box. |
|
This message is sent by an application to search a list box for an item that begins with the characters in a specified string. |
|
This message is sent by an application to select one or more consecutive items in a multiple-selection list box. |
|
This message is sent by an application to select one or more consecutive items in a multiple-selection list box. |
|
This message is sent by an application to set the position of the anchor item. |
|
This message is sent by an application to set the focus rectangle to the item at the specified index in a multiple-selection list box. |
|
This message is sent by an application to a multiple-column list box — created with the LBS_MULTICOLUMN style — to set the width, in pixels, of all columns in the list box. |
|
This message is sent by an application to select a string and scroll it into view, if necessary. |
|
This message is sent by an application to set the width, in pixels, by which a list box can be scrolled horizontally (the scrollable width). |
|
This message is sent by an application to set a 32-bit value associated with the specified item in a list box. |
|
This message is sent by an application to set the height, in pixels, of items in a list box. |
|
This message is sent by an application to set the current locale of the list box. |
|
This message is sent by an application to select a string in a multiple-selection list box. |
|
This message is sent by an application to set the tab-stop positions in a list box. |
|
This message is sent by an application to ensure that a particular item in a list box is visible. |
|
This message is sent by an application when the user double-clicks a string in a list box. |
|
This message is sent by an application when a list box cannot allocate enough memory to meet a specific request. |
|
This message is sent by an application when a list box loses the keyboard focus. |
|
This message is sent by an application when the user cancels the selection in a list box. |
|
This message is sent by an application when the selection in a list box is about to change. |
|
This message is sent by an application when a list box receives the keyboard focus. |
|
This message is sent to the parent window of a list box before Windows draws the list box. |
|
This message is sent to the owner of a list box or combo box when the list box or combo box is destroyed or when items are removed by the LB_DELETESTRING, LB_RESETCONTENT, CB_DELETESTRING, or CB_RESETCONTENT message. |