CB_ADDSTRING |
Adds a string to the list box of a combo box. If the combo box does not have the CBS_SORT style, the string is added to the end of the list. Otherwise, the string is inserted into the list, and the list is sorted.
|
CB_DELETESTRING |
Deletes a string in the list box of a combo box.
|
CB_DIR |
Adds names to the list displayed by the combo box. The message adds the names of directories and files that match a specified string and set of file attributes. CB_DIR can also add mapped drive letters to the list.
|
CB_FINDSTRING |
Searches the list box of a combo box for an item beginning with the characters in a specified string.
|
CB_FINDSTRINGEXACT |
Finds the first list box string in a combo box that matches the string specified in the lParam parameter.
|
CB_GETCOMBOBOXINFO |
Gets information about the specified combo box.
|
CB_GETCOUNT |
Gets the number of items in the list box of a combo box.
|
CB_GETCUEBANNER |
Gets the cue banner text displayed in the edit control of a combo box. Send this message explicitly or by using the ComboBox_GetCueBannerText macro.
|
CB_GETCURSEL |
An application sends a CB_GETCURSEL message to retrieve the index of the currently selected item, if any, in the list box of a combo box.
|
CB_GETDROPPEDCONTROLRECT |
An application sends a CB_GETDROPPEDCONTROLRECT message to retrieve the screen coordinates of a combo box in its dropped-down state.
|
CB_GETDROPPEDSTATE |
Determines whether the list box of a combo box is dropped down.
|
CB_GETDROPPEDWIDTH |
Gets the minimum allowable width, in pixels, of the list box of a combo box with the CBS_DROPDOWN or CBS_DROPDOWNLIST style.
|
CB_GETEDITSEL |
Gets the starting and ending character positions of the current selection in the edit control of a combo box.
|
CB_GETEXTENDEDUI |
Determines whether a combo box has the default user interface or the extended user interface.
|
CB_GETHORIZONTALEXTENT |
Gets the width, in pixels, that the list box can be scrolled horizontally (the scrollable width). This is applicable only if the list box has a horizontal scroll bar.
|
CB_GETITEMDATA |
An application sends a CB_GETITEMDATA message to a combo box to retrieve the application-supplied value associated with the specified item in the combo box.
|
CB_GETITEMHEIGHT |
Determines the height of list items or the selection field in a combo box.
|
CB_GETLBTEXT |
Gets a string from the list of a combo box.
|
CB_GETLBTEXTLEN |
Gets the length, in characters, of a string in the list of a combo box.
|
CB_GETLOCALE |
Gets the current locale of the combo box. The locale is used to determine the correct sorting order of displayed text for combo boxes with the CBS_SORT style and text added by using the CB_ADDSTRING message.
|
CB_GETMINVISIBLE |
Gets the minimum number of visible items in the drop-down list of a combo box.
|
CB_GETTOPINDEX |
An application sends the CB_GETTOPINDEX message to retrieve the zero-based index of the first visible item in the list box portion of a combo box. Initially, the item with index 0 is at the top of the list box, but if the list box contents have been scrolled, another item may be at the top.
|
CB_INITSTORAGE |
An application sends the CB_INITSTORAGE message before adding a large number of items to the list box portion of a combo box. This message allocates memory for storing list box items.
|
CB_INSERTSTRING |
Inserts a string or item data into the list of a combo box. Unlike the CB_ADDSTRING message, the CB_INSERTSTRING message does not cause a list with the CBS_SORT style to be sorted.
|
CB_LIMITTEXT |
Limits the length of the text the user may type into the edit control of a combo box.
|
CB_RESETCONTENT |
Removes all items from the list box and edit control of a combo box.
|
CB_SELECTSTRING |
Searches the list of a combo box for an item that begins with the characters in a specified string. If a matching item is found, it is selected and copied to the edit control.
|
CB_SETCUEBANNER |
Sets the cue banner text that is displayed for the edit control of a combo box.
|
CB_SETCURSEL |
An application sends a CB_SETCURSEL message to select a string in the list of a combo box. If necessary, the list scrolls the string into view. The text in the edit control of the combo box changes to reflect the new selection, and any previous selection in the list is removed.
|
CB_SETDROPPEDWIDTH |
An application sends the CB_SETDROPPEDWIDTH message to set the maximum allowable width, in pixels, of the list box of a combo box with the CBS_DROPDOWN or CBS_DROPDOWNLIST style.
|
CB_SETEDITSEL |
An application sends a CB_SETEDITSEL message to select characters in the edit control of a combo box.
|
CB_SETEXTENDEDUI |
An application sends a CB_SETEXTENDEDUI message to select either the default UI or the extended UI for a combo box that has the CBS_DROPDOWN or CBS_DROPDOWNLIST style.
|
CB_SETHORIZONTALEXTENT |
An application sends the CB_SETHORIZONTALEXTENT message to set the width, in pixels, by which a list box can be scrolled horizontally (the scrollable width). If the width of the list box is smaller than this value, the horizontal scroll bar horizontally scrolls items in the list box. If the width of the list box is equal to or greater than this value, the horizontal scroll bar is hidden or, if the combo box has the CBS_DISABLENOSCROLL style, disabled.
|
CB_SETITEMDATA |
An application sends a CB_SETITEMDATA message to set the value associated with the specified item in a combo box.
|
CB_SETITEMHEIGHT |
An application sends a CB_SETITEMHEIGHT message to set the height of list items or the selection field in a combo box.
|
CB_SETLOCALE |
An application sends a CB_SETLOCALE message to set the current locale of the combo box. If the combo box has the CBS_SORT style and strings are added using CB_ADDSTRING, the locale of a combo box affects how list items are sorted.
|
CB_SETMINVISIBLE |
An application sends a CB_SETMINVISIBLE message to set the minimum number of visible items in the drop-down list of a combo box.
|
CB_SETTOPINDEX |
An application sends the CB_SETTOPINDEX message to ensure that a particular item is visible in the list box of a combo box. The system scrolls the list box contents so that either the specified item appears at the top of the list box or the maximum scroll range has been reached.
|
CB_SHOWDROPDOWN |
An application sends a CB_SHOWDROPDOWN message to show or hide the list box of a combo box that has the CBS_DROPDOWN or CBS_DROPDOWNLIST style.
|