home *** CD-ROM | disk | FTP | other *** search
/ Delphi 5 for Professionals / DELPHI5.iso / AddOns / Components / Essentials / SETUP.EXE / %MAINDIR% / EsEdPop.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-11-28  |  3.6 KB  |  104 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) 'EsEdPop.pas' rev: 3.00
  6.  
  7. #ifndef EsEdPopHPP
  8. #define EsEdPopHPP
  9. #include <EsUtil.hpp>
  10. #include <EsLabel.hpp>
  11. #include <EsData.hpp>
  12. #include <EsConst.hpp>
  13. #include <EsBase.hpp>
  14. #include <SysUtils.hpp>
  15. #include <StdCtrls.hpp>
  16. #include <Messages.hpp>
  17. #include <Menus.hpp>
  18. #include <Graphics.hpp>
  19. #include <Forms.hpp>
  20. #include <ExtCtrls.hpp>
  21. #include <Controls.hpp>
  22. #include <Classes.hpp>
  23. #include <Buttons.hpp>
  24. #include <Windows.hpp>
  25. #include <SysInit.hpp>
  26. #include <System.hpp>
  27.  
  28. //-- user supplied -----------------------------------------------------------
  29.  
  30. namespace Esedpop
  31. {
  32. //-- type declarations -------------------------------------------------------
  33. class DELPHICLASS TEsEdButton;
  34. class PASCALIMPLEMENTATION TEsEdButton : public Buttons::TBitBtn 
  35. {
  36.     typedef Buttons::TBitBtn inherited;
  37.     
  38. public:
  39.     DYNAMIC void __fastcall Click(void);
  40. public:
  41.     /* TBitBtn.Create */ __fastcall virtual TEsEdButton(Classes::TComponent* AOwner) : Buttons::TBitBtn(
  42.         AOwner) { }
  43.     /* TBitBtn.Destroy */ __fastcall virtual ~TEsEdButton(void) { }
  44.     
  45. public:
  46.     /* TWinControl.CreateParented */ __fastcall TEsEdButton(HWND ParentWindow) : Buttons::TBitBtn(ParentWindow
  47.         ) { }
  48.     
  49. };
  50.  
  51. class DELPHICLASS TEsEdPopup;
  52. class PASCALIMPLEMENTATION TEsEdPopup : public Stdctrls::TCustomEdit 
  53. {
  54.     typedef Stdctrls::TCustomEdit inherited;
  55.     
  56. protected:
  57.     TEsEdButton* FButton;
  58.     Esbase::TEsLabelInfo* FEsLabel;
  59.     bool FPopupActive;
  60.     bool FShowButton;
  61.     Esbase::TEsAttachedLabel* __fastcall GetAttachedLabel(void);
  62.     System::AnsiString __fastcall GetVersion();
  63.     void __fastcall SetShowButton(bool Value);
  64.     void __fastcall SetVersion(const System::AnsiString Value);
  65.     int __fastcall GetButtonWidth(void);
  66.     void __fastcall LabelChange(System::TObject* Sender);
  67.     void __fastcall LabelAttach(System::TObject* Sender, bool Value);
  68.     void __fastcall PositionLabel(void);
  69.     MESSAGE void __fastcall ESAssignLabel(Messages::TMessage &Msg);
  70.     MESSAGE void __fastcall ESPositionLabel(Messages::TMessage &Msg);
  71.     MESSAGE void __fastcall ESRecordLabelPosition(Messages::TMessage &Msg);
  72.     TEsLabelPosition DefaultLabelPosition;
  73.     virtual void __fastcall CreateParams(Controls::TCreateParams &Params);
  74.     virtual void __fastcall CreateWnd(void);
  75.     DYNAMIC bool __fastcall GetButtonEnabled(void);
  76.     virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation
  77.         );
  78.     DYNAMIC void __fastcall PopupClose(System::TObject* Sender);
  79.     __property Esbase::TEsLabelInfo* EsLabelInfo = {read=FEsLabel, write=FEsLabel};
  80.     __property bool ShowButton = {read=FShowButton, write=SetShowButton, default=1};
  81.     __property System::AnsiString Version = {read=GetVersion, write=SetVersion, stored=false};
  82.     
  83. public:
  84.     __fastcall virtual TEsEdPopup(Classes::TComponent* AOwner);
  85.     __fastcall virtual ~TEsEdPopup(void);
  86.     virtual void __fastcall SetBounds(int ALeft, int ATop, int AWidth, int AHeight);
  87.     __property Esbase::TEsAttachedLabel* AttachedLabel = {read=GetAttachedLabel};
  88.     DYNAMIC void __fastcall PopupOpen(void);
  89.     __property bool PopupActive = {read=FPopupActive, nodefault};
  90. public:
  91.     /* TWinControl.CreateParented */ __fastcall TEsEdPopup(HWND ParentWindow) : Stdctrls::TCustomEdit(ParentWindow
  92.         ) { }
  93.     
  94. };
  95.  
  96. //-- var, const, procedure ---------------------------------------------------
  97.  
  98. }    /* namespace Esedpop */
  99. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  100. using namespace Esedpop;
  101. #endif
  102. //-- end unit ----------------------------------------------------------------
  103. #endif    // EsEdPop
  104.