home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / BC_502 / EVHANDLE.PAK / TEXTWND.H < prev   
Encoding:
C/C++ Source or Header  |  1997-05-06  |  974 b   |  39 lines

  1. //----------------------------------------------------------------------------
  2. //  Project EVHANDLE
  3. //  
  4. //  Copyright ⌐ 1996. All Rights Reserved.
  5. //
  6. //  SUBSYSTEM:    EVHANDLE Application
  7. //  FILE:         textwnd.h
  8. //  AUTHOR:       
  9. //
  10. //  OVERVIEW
  11. //  ~~~~~~~~
  12. //  Class definition for TexWindow.
  13. //
  14. //----------------------------------------------------------------------------
  15. #if !defined(textwnd_h) // Sentry, use file only if it's not already included.
  16. #define textwnd_h
  17.  
  18. #include <owl\window.h>
  19. #include <owl\listbox.h>
  20. #include <string.h>
  21.  
  22. //
  23. // this class will have a listbox child that will be sized
  24. // to take up the entire client area and will display the strings
  25. // passed into OutputString()
  26. //
  27. class TextWindow: public TWindow
  28. {
  29. public:
  30.     TextWindow(TWindow *par, char *title,TModule *mod=0);
  31.    void OutputString(char *text);
  32.    void SetupWindow();
  33.  
  34. protected:
  35.     TListBox *EventsList;
  36. };
  37.  
  38. #endif  // textwnd_h sentry.
  39.