CComboBox Members
Base Class Members
Construction/Destruction
Initialization
General Operations
String Operations
Overridables
Base Class Members
Construction
Constructs a CComboBox object. |
Initialization
Creates the combo box and attaches it to the CComboBox object. |
|
Preallocates blocks of memory for items and strings in the list-box portion of the combo box. |
General Operations
Deletes (clears) the current selection, if any, in the edit control. |
|
Copies the current selection, if any, onto the Clipboard in CF_TEXT format. |
|
Deletes (cuts) the current selection, if any, in the edit control and copies the deleted text onto the Clipboard in CF_TEXT format. |
|
Retrieves information about the CComboBox object. |
|
Retrieves the number of items in the list box of a combo box. |
|
Gets the cue text that is displayed for a combo box control. |
|
Retrieves the index of the currently selected item, if any, in the list box of a combo box. |
|
Retrieves the screen coordinates of the visible (dropped down) list box of a drop-down combo box. |
|
Determines whether the list box of a drop-down combo box is visible (dropped down). |
|
Retrieves the minimum allowed width for the drop-down list-box portion of a combo box. |
|
Gets the starting and ending character positions of the current selection in the edit control of a combo box. |
|
Determines whether a combo box has the default user interface or the extended user interface. |
|
Returns the width in pixels that the list-box portion of the combo box can be scrolled horizontally. |
|
Retrieves the application-supplied 32-bit value associated with the specified combo-box item. |
|
Retrieves the application-supplied 32-bit pointer that is associated with the specified combo-box item. |
|
Retrieves the height of list items in a combo box. |
|
Gets a string from the list box of a combo box. |
|
Gets the length of a string in the list box of a combo box. |
|
Retrieves the locale identifier for a combo box. |
|
Gets the minimum number of visible items in the drop-down list of the current combo box. |
|
Returns the index of the first visible item in the list-box portion of the combo box. |
|
Limits the length of the text that the user can enter into the edit control of a combo box. |
|
Inserts the data from the Clipboard into the edit control at the current cursor position. Data is inserted only if the Clipboard contains data in CF_TEXT format. |
|
Sets the cue text that is displayed for a combo box control. |
|
Selects a string in the list box of a combo box. |
|
Sets the minimum allowed width for the drop-down list-box portion of a combo box. |
|
Selects characters in the edit control of a combo box. |
|
Selects either the default user interface or the extended user interface for a combo box that has the CBS_DROPDOWN or CBS_DROPDOWNLIST style. |
|
Sets the width in pixels that the list-box portion of the combo box can be scrolled horizontally. |
|
Sets the 32-bit value associated with the specified item in a combo box. |
|
Sets the 32-bit pointer associated with the specified item in a combo box. |
|
Sets the height of list items in a combo box or the height of the edit-control (or static-text) portion of a combo box. |
|
Sets the locale identifier for a combo box. |
|
Sets the minimum number of visible items in the drop-down list of the current combo box. |
|
Tells the list-box portion of the combo box to display the item with the specified index at the top. |
|
Shows or hides the list box of a combo box that has the CBS_DROPDOWN or CBS_DROPDOWNLIST style. |
String Operations
Adds a string to the end of the list in the list box of a combo box, or at the sorted position for list boxes with the CBS_SORT style. |
|
Deletes a string from the list box of a combo box. |
|
Adds a list of file names to the list box of a combo box. |
|
Finds the first string that contains the specified prefix in the list box of a combo box. |
|
Finds the first list-box string (in a combo box) that matches the specified string. |
|
Inserts a string into the list box of a combo box. |
|
Removes all items from the list box and edit control of a combo box. |
|
Searches for a string in the list box of a combo box and, if the string is found, selects the string in the list box and copies the string to the edit control. |
Overridables
Called by the framework to determine the relative position of a new list item in a sorted owner-drawn combo box. |
|
Called by the framework when a list item is deleted from an owner-drawn combo box. |
|
Called by the framework when a visual aspect of an owner-drawn combo box changes. |
|
Called by the framework to determine combo box dimensions when an owner-drawn combo box is created. |