home *** CD-ROM | disk | FTP | other *** search
/ C Programming Starter Kit 2.0 / SamsPublishing-CProgrammingStarterKit-v2.0-Win31.iso / bc45 / mthread.pak / ARTY.H < prev    next >
C/C++ Source or Header  |  1997-07-23  |  1KB  |  39 lines

  1. //----------------------------------------------------------------------------
  2. // ObjectWindows - (C) Copyright 1991, 1993 by Borland International
  3. //   Multi-thread arty demo window object header
  4. //----------------------------------------------------------------------------
  5. #ifndef __ARTY_H
  6. #define __ARTY_H
  7.  
  8. #include "demobase.h"
  9.  
  10. class _EXPCLASS TList;
  11. class _EXPCLASS TStatic;
  12.  
  13. class TArtyWindow : public TBaseDemoWindow {
  14.   public:
  15.     TArtyWindow();
  16.     ~TArtyWindow();
  17.  
  18.   protected:
  19.     void    EvLButtonDown(UINT modKeys, TPoint& point);
  20.     void    EvRButtonDown(UINT modKeys, TPoint& point);
  21.     void    EvSize(UINT, TSize& size);
  22.     void    Paint(TDC& dc, BOOL erase, TRect& rect);
  23.  
  24.   private:
  25.     TList*      List;
  26.     TList*      BigLineList;
  27.     TList*      IconicLineList;
  28.     int         TextHeight;
  29.     BOOL        Iconized;
  30.     BOOL        Paused;
  31.     TStatic*    StaticControl;
  32.  
  33.     void        DoRun();
  34.  
  35.   DECLARE_RESPONSE_TABLE(TArtyWindow);
  36. };
  37.  
  38. #endif
  39.