zComboBox Class Reference

DERIVED CLASS FOR COMBOBOX CONTROLS. More...

#include <Zclass.h>

Inheritance diagram for zComboBox:
zWindow

List of all members.

Public Member Functions

int Add (LPCTSTR, long dwData=-1)
void Click (void)
bool isNull (void)
bool isNotNull (void)

Detailed Description

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.


Member Function Documentation

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.

Parameters:
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]
Returns:
___yes if the text window is not null, otherwise __no.

Reimplemented from zWindow.

bool zComboBox::isNull ( void   )  [inline]
Returns:
___yes if the text window is null, otherwise __no.

Reimplemented from zWindow.


The documentation for this class was generated from the following file:

Generated on Sun Nov 29 07:22:16 2009 for Rad.on++ by  doxygen 1.6.1