home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cl-lib07.zip / pm.zip / usr / include / pm / listbox.h < prev    next >
C/C++ Source or Header  |  1995-06-27  |  684b  |  35 lines

  1. #ifndef _LISTBOX_H_
  2. #define _LISTBOX_H_
  3.  
  4. #ifndef _FACTORYWINDOW_H_
  5. #include <pm/FactoryWindow.h>
  6. #endif
  7.  
  8. @interface ListBox : FactoryWindow <Archiving>
  9. {
  10. }
  11.  
  12. - initWithId: (ULONG) anId andFlags: (ULONG) flags in: (Window *) parent;
  13. - insertItem: (SHORT) pos text: (const char *) buffer;
  14. - (SHORT) count;
  15. - (SHORT) selected;
  16. - (SHORT) itemTextLength: (SHORT) pos;
  17. - (char *) item: (SHORT) pos text: (char *) buffer;
  18. - selectItem: (SHORT) pos;
  19. - deleteItem: (SHORT) pos;
  20. - deleteAll;
  21.  
  22. /*
  23.  * Methods for protocol "Archiving"
  24.  */
  25.  
  26. - read: (TypedStream *) aStream;
  27. - write: (TypedStream *) aStream;
  28. - awake;
  29.  
  30. - createInPMWindow: (HWND) hwnd;
  31.  
  32. @end
  33.  
  34. #endif
  35.