home *** CD-ROM | disk | FTP | other *** search
/ Delphi 5 for Professionals / DELPHI5.iso / AddOns / Components / Essentials / SETUP.EXE / %MAINDIR% / EsRollUp.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-11-28  |  3.2 KB  |  96 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'EsRollUp.pas' rev: 3.00
  6.  
  7. #ifndef EsRollUpHPP
  8. #define EsRollUpHPP
  9. #include <EsData.hpp>
  10. #include <EsConst.hpp>
  11. #include <MMSystem.hpp>
  12. #include <Messages.hpp>
  13. #include <Forms.hpp>
  14. #include <Classes.hpp>
  15. #include <Windows.hpp>
  16. #include <SysInit.hpp>
  17. #include <System.hpp>
  18.  
  19. //-- user supplied -----------------------------------------------------------
  20.  
  21. namespace Esrollup
  22. {
  23. //-- type declarations -------------------------------------------------------
  24. typedef Shortint TEsAnimateSpeed;
  25.  
  26. class DELPHICLASS TEsCustomRollUp;
  27. class PASCALIMPLEMENTATION TEsCustomRollUp : public Classes::TComponent 
  28. {
  29.     typedef Classes::TComponent inherited;
  30.     
  31. protected:
  32.     bool FAnimate;
  33.     TEsAnimateSpeed FAnimateSpeed;
  34.     bool FHookForm;
  35.     int FMinHeight;
  36.     Classes::TNotifyEvent FOnRollDown;
  37.     Classes::TNotifyEvent FOnRollUp;
  38.     void *ruNewWndProc;
  39.     int ruOldHeight;
  40.     void *ruPrevWndProc;
  41.     bool __fastcall GetRolledUp(void);
  42.     System::AnsiString __fastcall GetVersion();
  43.     void __fastcall SetAnimateSpeed(TEsAnimateSpeed Value);
  44.     void __fastcall SetHookForm(bool Value);
  45.     void __fastcall SetMinHeight(int Value);
  46.     void __fastcall SetRolledUp(bool Value);
  47.     void __fastcall SetVersion(const System::AnsiString Value);
  48.     void __fastcall ruWndProc(Messages::TMessage &Msg);
  49.     DYNAMIC void __fastcall DoOnRollDown(void);
  50.     DYNAMIC void __fastcall DoOnRollUp(void);
  51.     __property bool Animate = {read=FAnimate, write=FAnimate, default=1};
  52.     __property TEsAnimateSpeed AnimateSpeed = {read=FAnimateSpeed, write=FAnimateSpeed, default=8};
  53.     __property bool HookForm = {read=FHookForm, write=SetHookForm, default=0};
  54.     __property int MinHeight = {read=FMinHeight, write=SetMinHeight, nodefault};
  55.     __property bool RolledUp = {read=GetRolledUp, write=SetRolledUp, stored=false, nodefault};
  56.     __property System::AnsiString Version = {read=GetVersion, write=SetVersion, stored=false};
  57.     __property Classes::TNotifyEvent OnRollDown = {read=FOnRollDown, write=FOnRollDown};
  58.     __property Classes::TNotifyEvent OnRollUp = {read=FOnRollUp, write=FOnRollUp};
  59.     
  60. public:
  61.     __fastcall virtual TEsCustomRollUp(Classes::TComponent* AOwner);
  62.     __fastcall virtual ~TEsCustomRollUp(void);
  63. };
  64.  
  65. class DELPHICLASS TEsRollUp;
  66. class PASCALIMPLEMENTATION TEsRollUp : public Esrollup::TEsCustomRollUp 
  67. {
  68.     typedef Esrollup::TEsCustomRollUp inherited;
  69.     
  70. __published:
  71.     __property Animate ;
  72.     __property AnimateSpeed ;
  73.     __property HookForm ;
  74.     __property MinHeight ;
  75.     __property RolledUp ;
  76.     __property Version ;
  77.     __property OnRollDown ;
  78.     __property OnRollUp ;
  79. public:
  80.     /* TEsCustomRollUp.Create */ __fastcall virtual TEsRollUp(Classes::TComponent* AOwner) : Esrollup::
  81.         TEsCustomRollUp(AOwner) { }
  82.     /* TEsCustomRollUp.Destroy */ __fastcall virtual ~TEsRollUp(void) { }
  83.     
  84. };
  85.  
  86. //-- var, const, procedure ---------------------------------------------------
  87. #define ruDefAnimate (bool)(1)
  88. #define ruDefAnimateSpeed (Byte)(8)
  89.  
  90. }    /* namespace Esrollup */
  91. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  92. using namespace Esrollup;
  93. #endif
  94. //-- end unit ----------------------------------------------------------------
  95. #endif    // EsRollUp
  96.