home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / dovetail.zip / LISTBOX.H < prev    next >
C/C++ Source or Header  |  1994-04-07  |  593b  |  22 lines

  1. /*
  2.   Listbox.  Supports only insertion, deletion, and getting of text &
  3.             selection index
  4. */
  5. #ifndef _LISTBOX_INC
  6. #define _LISTBOX_INC
  7. #include "control.h"
  8.  
  9.  
  10. class Listbox : virtual public Control
  11.    {
  12.     public:
  13.                      Listbox (HWND,ULONG,SHORT,SHORT,SHORT,SHORT,ULONG=0);
  14.                      Listbox (HWND,ULONG);
  15.     virtual          operator char * ();
  16.                      operator SHORT ();
  17.             VOID     Insert(char *,SHORT=LIT_SORTASCENDING);
  18.             VOID     Delete(SHORT = -1);
  19.             VOID     DeleteAll();
  20.    };
  21. #endif
  22.