PyCComboBox Object

A windows combo control. Encapsulates an MFC CComboBox class. Derived from a PyCControl object.

Methods

AddString
Add a string to the listbox portion of a combo box. 

DeleteString
Delete a string to the listbox portion of a combo box. 

Dir
Fill the listbox portion of a combo with a file specification. 

GetCount
Get the count of items in the listbox portion of a combo box. 

GetCurSel
Get the current selection in the listbox portion of a combo box. 

GetEditSel
Gets the edit control selection from a combo box. 

GetExtendedUI
Gets the ExtendedUI flag for a combo box. 

GetItemData
Retrieves the application-specific object associated with a combobox entry 

GetItemValue
Retrieves the application-specific value associated with a combobox entry 

GetLBText
Gets the text from the edit control in a combo box. 

GetLBTextLen
Gets the length of the text in the edit control of a combo box. 

InsertString
Inserts a string into the listbox portion of a combo box. 

LimitText
Limit the length of text in the edit control portion of a combo box. 

ResetContent
Remove all items from the listbox portion of a combo box. 

SelectString
Select a string in the listbox portion of a combo box. 

SetCurSel
Sets the current selection in the listbox portion of a combo box. 

SetEditSel
Sets the current selection in the edit control portion of a combo box. 

SetExtendedUI
Sets the ExtendedUI flag for a combo box. 

SetItemData
Sets the application-specific object associated with a combobox entry 

SetItemValue
Sets the application-specific value associated with a combobox entry 

ShowDropDown
Shows the listbox portion of a combo box.