Common controls

The following controls are considered a common controls:

Combo boxes are controls which combine the features of list box and edit field. They allow choosing items from the list but in the same time they allow editing.

Win32::GuiTest provides the following functions for dealing with combo boxes:

GetComboContents

Returns a list of all items stored in the ComboBox.

GetComboText

Returns an item, which has a given ordinal number

SelComboItem

Select a string in the list of a combo box based off an index (zero-based).

SelComboItemText

Selects an item in the combo box based off text (case insensitive). Does not make combo box to send CBN_SELCHANGE notification.

SelComboString

Selects an item in the combo box based off text (case insensitive). Makes combo box to send CBN_SELCHANGE notification.