Combo Boxes Messages
A version of this page is also available for
4/8/2010
The following table shows the combo 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 the list box of a combo box. |
|
This message is sent by an application to delete a string in the list box of a combo box. |
|
This message is sent by an application to search the list box of a combo box for an item beginning with the characters in a specified string. |
|
This message is sent by an application to find the first list box string in a combo box that matches the string specified in the lpszFind parameter. |
|
This message is sent by an application to retrieve information about the specified combo box. |
|
This message is sent by an application to retrieve the number of items in the list box of a combo box. |
|
This message is sent by an application to retrieve the index of the currently selected item, if any, in the list box of a combo box. |
|
This message is sent by an application to retrieve the screen coordinates of the drop-down list box of a combo box. |
|
This message is sent by an application to determine whether the list box of a combo box is dropped down. |
|
This message is sent by an application to retrieve the minimum allowable width, in pixels, of the list box of a combo box with the CBS_DROPDOWN or CBS_DROPDOWNLIST style. |
|
This message is sent by an application to get the starting and ending character positions of the current selection in the edit control of a combo box. |
|
This message is sent by an application to determine whether a combo box has the default user interface or the extended user interface. |
|
This message is sent by an application to retrieve from a combo box the width, in pixels, by which the list box can be scrolled horizontally (the scrollable width). |
|
This message is sent by an application to a combo box to retrieve the application-supplied 32-bit value associated with the specified item in the combo box. |
|
This message is sent by an application to determine the height of list items or the selection field in a combo box. |
|
This message is sent by an application to retrieve a string from the list of a combo box. |
|
This message is sent by an application to retrieve the length, in characters, of a string in the list of a combo box. |
|
This message is sent by an application to retrieve the current locale of the combo box. |
|
This message is sent by an application to retrieve the zero-based index of the first visible item in the list box portion of a combo box. |
|
This message is sent by an application before adding a large number of items to the list box portion of a combo box. |
|
This message is sent by an application to insert a string into the list box of a combo box. |
|
This message is sent by an application to limit the length of the text the user may type into the edit control of a combo box. |
|
This message is sent by an application to remove all items from the list box and edit control of a combo box. |
|
This message is sent by an application to search the list of a combo box for an item that begins with the characters in a specified string. |
|
This message is sent by an application to select a string in the list of a combo box. |
|
This message is sent by an application to set the maximum allowable width, in pixels, of the list box of a combo box with the CBS_DROPDOWN or CBS_DROPDOWNLIST style. |
|
This message is sent by an application to select characters in the edit control of a combo box. |
|
This message is sent by an application to select either the default user interface or the extended user interface for a combo box that has the CBS_DROPDOWN or CBS_DROPDOWNLIST style. |
|
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 the 32-bit value associated with the specified item in a combo box. |
|
This message is sent by an application to set the height of list items or the selection field in a combo box. |
|
This message is sent by an application to set the current locale of the combo box. |
|
This message is sent by an application to ensure that a particular item is visible in the list box of a combo box. |
|
This message is sent by an application to show or hide the list box of a combo box that has the CBS_DROPDOWN or CBS_DROPDOWNLIST style. |
|
This message is sent when the list box of a combo box has been closed. |
|
This message is sent when the user double-clicks a string in the list box of a combo box. |
|
This message is sent when the list box of a combo box is about to be made visible. |
|
This message is sent after the user has taken an action that may have altered the text in the edit control portion of a combo box. |
|
This message is sent when the edit control portion of a combo box is about to display altered text. |
|
This message is sent when a combo box cannot allocate enough memory to meet a specific request. |
|
This message is sent when a combo box loses the keyboard focus. |
|
This message is sent when the selection in the list box of a combo box is about to be changed as a result of the user either clicking in the list box or changing the selection by using the arrow keys. |
|
This message is sent when the user selects an item, but then selects another control or closes the dialog box. |
|
This message is sent when the user clicks a list item, or selects an item and then closes the list. |
|
This message is sent when a combo box receives the keyboard focus. |
|
This message is sent to the owner window of an owner-drawn button or menu when a visual aspect of the button or menu has changed. |
|
This message is sent to the owner window of an owner-drawn button or menu item when the control or menu is created. |