home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 May / Pcwk5b98.iso / Borland / Cplus45 / BC45 / OWLINC.PAK / GROUPBOX.H < prev    next >
C/C++ Source or Header  |  1995-08-29  |  1KB  |  47 lines

  1. //----------------------------------------------------------------------------
  2. // ObjectWindows
  3. // (C) Copyright 1991, 1994 by Borland International, All Rights Reserved
  4. //
  5. //   Defines class TGroupBox.  This defines the basic behavior
  6. //   for all group boxes.
  7. //----------------------------------------------------------------------------
  8. #if !defined(OWL_GROUPBOX_H)
  9. #define OWL_GROUPBOX_H
  10.  
  11. #if !defined(OWL_CONTROL_H)
  12. # include <owl/control.h>
  13. #endif
  14.  
  15. //
  16. //  class TGroupBox
  17. //  ----- ---------
  18. //
  19. class _OWLCLASS TGroupBox : public TControl {
  20.   public:
  21.     bool  NotifyParent;
  22.  
  23.     TGroupBox(TWindow*        parent,
  24.               int             id,
  25.               const char far* text,
  26.               int X, int Y, int W, int H,
  27.               TModule*        module = 0);
  28.  
  29.     TGroupBox(TWindow* parent, int resourceId, TModule*   module = 0);
  30.  
  31.     virtual void SelectionChanged(int controlId);
  32.  
  33.   protected:
  34.     char far*    GetClassName();
  35.  
  36.   private:
  37.     //
  38.     // hidden to prevent accidental copying or assignment
  39.     //
  40.     TGroupBox(const TGroupBox&);
  41.     TGroupBox& operator =(const TGroupBox&);
  42.  
  43.   DECLARE_STREAMABLE(_OWLCLASS, TGroupBox, 1);
  44. };
  45.  
  46. #endif  // OWL_GROUPBOX_H
  47.