DERIVED CLASS FOR LISTBOX CONTROLS. More...
#include <Zclass.h>
Public Member Functions | |
| int | Add (LPCTSTR, long dwData=-1) |
| void | Click (void) |
DERIVED CLASS FOR LISTBOX CONTROLS.
% Provides the functionality of a Windows list box. A list box displays a list of items,such as filenames,that the user can view and select. In a single-selection list box,the user can select only one item. In a multiple-selection list box,a range of items can be selected. When the user selects an item, it is highlighted and the list box sends a notification message to the parent window.
| int zListBox::Add | ( | LPCTSTR | , | |
| long | dwData = -1 | |||
| ) |
Adds a string to a list box and sets a 32-bit value associated with the specified item in a list box. If the list 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 zListBox::Click | ( | void | ) | [inline] |
Simulate the user clicking a button.
1.6.1