home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c083 / 19.ddi / OWLINC.PAK / GROUPBOX.H < prev    next >
Encoding:
C/C++ Source or Header  |  1993-12-02  |  1.2 KB  |  46 lines

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