home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Pier Shareware 6
/
The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso
/
035
/
kwclass.zip
/
KLSTHDR.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1994-04-18
|
383b
|
18 lines
#include <klsthdr.hpp>
#include <iselhdr.hpp>
#include <icmdevt.hpp>
#include <ilistbox.hpp>
#include <itextctl.hpp>
#include <istring.hpp>
Boolean KListHandler::selected(IControlEvent &event)
{
if (target)
{
IListBox *listBox = (IListBox *)event.controlWindow();
target->setText(listBox->itemText(listBox->selection()));
}
return false;
}