home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c082_122 / 3.ddi / OWLINC.ZIP / BSTATBMP.H < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-10  |  1.5 KB  |  56 lines

  1. // ObjectWindows - (C) Copyright 1992 by Borland International
  2.  
  3. #ifndef __BSTATBMP_H
  4. #define __BSTATBMP_H
  5.  
  6. #ifndef __CONTROL_H
  7. #include <control.h>
  8. #endif
  9.  
  10. #pragma option -Vo-
  11. #if     defined(__BCOPT__) && !defined(_ALLOW_po)
  12. #pragma option -po-
  13. #endif
  14.  
  15. _CLASSDEF(TBStaticBmp)
  16.  
  17. /* --------------------------------------------------------
  18.   TBStaticBmp object
  19.   -------------------------------------------------------- */
  20. class _EXPORT TBStaticBmp : public TControl
  21. {
  22. public:
  23.     TBStaticBmp(PTWindowsObject AParent, int AnId, LPSTR AText,
  24.             int X, int Y, int W, int H, PTModule AModule = NULL);
  25.     TBStaticBmp(PTWindowsObject AParent, int ResourceId,
  26.          PTModule AModule = NULL);
  27.  
  28.     static PTStreamable build();
  29.  
  30. protected:
  31.     virtual LPSTR GetClassName()
  32.         {return "BORBTN";}
  33.     TBStaticBmp(StreamableInit) : TControl(streamableInit) {};
  34.  
  35. private:
  36.     virtual const Pchar streamableName() const
  37.         { return "TBStaticBmp"; }
  38. };
  39.  
  40. inline Ripstream operator >> ( Ripstream is, RTBStaticBmp cl )
  41.     { return is >> (RTStreamable)cl; }
  42. inline Ripstream operator >> ( Ripstream is, RPTBStaticBmp cl )
  43.     { return is >> (RPvoid)cl; }
  44.  
  45. inline Ropstream operator << ( Ropstream os, RTBStaticBmp cl )
  46.     { return os << (RTStreamable)cl; }
  47. inline Ropstream operator << ( Ropstream os, PTBStaticBmp cl )
  48.     { return os << (PTStreamable)cl; }
  49.  
  50. #pragma option -Vo.
  51. #if     defined(__BCOPT__) && !defined(_ALLOW_po)
  52. #pragma option -po.
  53. #endif
  54.  
  55. #endif
  56.