DERIVED CLASS FOR COMBOBOX CONTROLS. More...
#include <Zclass.h>
Public Member Functions | |
| int | Add (LPCTSTR, long dwData=-1) |
| void | Click (void) |
| bool | isNull (void) |
| bool | isNotNull (void) |
DERIVED CLASS FOR COMBOBOX CONTROLS.
% Provides the functionality of a Windows combo box. A combo box consists of a list box combined with either a static control or edit control. The list-box portion of the control may be displayed at all times or may only drop down when the user selects the drop-down arrow next to the control. The currently selected item (if any) in the list box is displayed in the static or edit control. In addition,if the combo box has the drop-down list style,the user can type the initial character of one of the items in the list,and the list box, if visible, will highlight the next item with that initial character.
| int zComboBox::Add | ( | LPCTSTR | , | |
| long | dwData = -1 | |||
| ) |
Adds a string to a combo box and sets a 32-bit value associated with the specified item in a combo box. If the combo box does not have the 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.
| dwData | - Specifies the 32-bit value to be associated with the item. |
| void zComboBox::Click | ( | void | ) |
Simulate the user clicking a button.
| bool zComboBox::isNotNull | ( | void | ) | [inline] |
Reimplemented from zWindow.
| bool zComboBox::isNull | ( | void | ) | [inline] |
Reimplemented from zWindow.
1.6.1