home *** CD-ROM | disk | FTP | other *** search
- // Borland C++ Builder
- // Copyright (c) 1995, 1998 by Borland International
- // All rights reserved
-
- // (DO NOT EDIT: machine generated header) 'EsBase.pas' rev: 3.00
-
- #ifndef EsBaseHPP
- #define EsBaseHPP
- #include <EsUtil.hpp>
- #include <EsLabel.hpp>
- #include <EsData.hpp>
- #include <EsConst.hpp>
- #include <SysUtils.hpp>
- #include <StdCtrls.hpp>
- #include <Messages.hpp>
- #include <Menus.hpp>
- #include <Graphics.hpp>
- #include <Forms.hpp>
- #include <ExtCtrls.hpp>
- #include <Controls.hpp>
- #include <Classes.hpp>
- #include <Buttons.hpp>
- #include <Windows.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
-
- namespace Esbase
- {
- //-- type declarations -------------------------------------------------------
- enum TEsLabelPosition { dlpTopLeft, dlpBottomLeft };
-
- class DELPHICLASS EEssentialsError;
- class PASCALIMPLEMENTATION EEssentialsError : public Sysutils::Exception
- {
- typedef Sysutils::Exception inherited;
-
- public:
- /* Exception.Create */ __fastcall EEssentialsError(const System::AnsiString Msg) : Sysutils::Exception(
- Msg) { }
- /* Exception.CreateFmt */ __fastcall EEssentialsError(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size) : Sysutils::Exception(Msg, Args, Args_Size) { }
- /* Exception.CreateRes */ __fastcall EEssentialsError(int Ident, Extended Dummy) : Sysutils::Exception(
- Ident, Dummy) { }
- /* Exception.CreateResFmt */ __fastcall EEssentialsError(int Ident, const System::TVarRec * Args, const
- int Args_Size) : Sysutils::Exception(Ident, Args, Args_Size) { }
- /* Exception.CreateHelp */ __fastcall EEssentialsError(const System::AnsiString Msg, int AHelpContext
- ) : Sysutils::Exception(Msg, AHelpContext) { }
- /* Exception.CreateFmtHelp */ __fastcall EEssentialsError(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size, int AHelpContext) : Sysutils::Exception(Msg, Args, Args_Size, AHelpContext
- ) { }
- /* Exception.CreateResHelp */ __fastcall EEssentialsError(int Ident, int AHelpContext) : Sysutils::
- Exception(Ident, AHelpContext) { }
- /* Exception.CreateResFmtHelp */ __fastcall EEssentialsError(int Ident, const System::TVarRec * Args
- , const int Args_Size, int AHelpContext) : Sysutils::Exception(Ident, Args, Args_Size, AHelpContext
- ) { }
-
- public:
- /* TObject.Destroy */ __fastcall virtual ~EEssentialsError(void) { }
-
- };
-
- typedef void __fastcall (__closure *TEsAttachEvent)(System::TObject* Sender, bool Value);
-
- class DELPHICLASS TEsAttachedLabel;
- class PASCALIMPLEMENTATION TEsAttachedLabel : public Eslabel::TEsCustomLabel
- {
- typedef Eslabel::TEsCustomLabel inherited;
-
- private:
- Controls::TWinControl* FEsControl;
- void __fastcall eslSavePosition(void);
-
- protected:
- virtual void __fastcall Loaded(void);
-
- public:
- __fastcall virtual TEsAttachedLabel(Classes::TComponent* AOwner);
- __fastcall virtual TEsAttachedLabel(Classes::TComponent* AOwner, Controls::TWinControl* AControl);
- virtual void __fastcall SetBounds(int ALeft, int ATop, int AWidth, int AHeight);
-
- __published:
- __property Alignment ;
- __property Caption ;
- __property Color ;
- __property FocusControl ;
- __property Font ;
- __property Height ;
- __property Left ;
- __property Name ;
- __property ParentColor ;
- __property ParentFont ;
- __property ParentShowHint ;
- __property ShowAccelChar ;
- __property ShowHint ;
- __property Tag ;
- __property Top ;
- __property Transparent ;
- __property Width ;
- __property WordWrap ;
- __property Appearance ;
- __property ColorScheme ;
- __property CustomSettings ;
- __property Controls::TWinControl* EsControl = {read=FEsControl, write=FEsControl};
- public:
- /* TEsCustomLabel.Destroy */ __fastcall virtual ~TEsAttachedLabel(void) { }
-
- };
-
- class DELPHICLASS TEsLabelInfo;
- class PASCALIMPLEMENTATION TEsLabelInfo : public Classes::TPersistent
- {
- typedef Classes::TPersistent inherited;
-
- private:
- int FOffsetX;
- int FOffsetY;
- Classes::TNotifyEvent FOnChange;
- TEsAttachEvent FOnAttach;
- void __fastcall DoOnAttach(void);
- void __fastcall DoOnChange(void);
- void __fastcall SetOffsetX(int Value);
- void __fastcall SetOffsetY(int Value);
- void __fastcall SetVisible(bool Value);
-
- public:
- TEsAttachedLabel* ALabel;
- bool FVisible;
- __property TEsAttachEvent OnAttach = {read=FOnAttach, write=FOnAttach};
- __property Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
- void __fastcall SetOffsets(int X, int Y);
-
- __published:
- __property int OffsetX = {read=FOffsetX, write=SetOffsetX, nodefault};
- __property int OffsetY = {read=FOffsetY, write=SetOffsetY, nodefault};
- __property bool Visible = {read=FVisible, write=SetVisible, nodefault};
- public:
- /* TPersistent.Destroy */ __fastcall virtual ~TEsLabelInfo(void) { }
-
- public:
- /* TObject.Create */ __fastcall TEsLabelInfo(void) : Classes::TPersistent() { }
-
- };
-
- typedef void __fastcall (__closure *TMouseWheelEvent)(System::TObject* Sender, Classes::TShiftState
- Shift, Word Delta, Word XPos, Word YPos);
-
- class DELPHICLASS TEsBase;
- class PASCALIMPLEMENTATION TEsBase : public Controls::TCustomControl
- {
- typedef Controls::TCustomControl inherited;
-
- protected:
- TEsLabelInfo* FEsLabel;
- TMouseWheelEvent FOnMouseWheel;
- TEsAttachedLabel* __fastcall GetAttachedLabel(void);
- System::AnsiString __fastcall GetVersion();
- void __fastcall SetVersion(const System::AnsiString Value);
- void __fastcall LabelChange(System::TObject* Sender);
- void __fastcall LabelAttach(System::TObject* Sender, bool Value);
- void __fastcall PositionLabel(void);
- MESSAGE void __fastcall ESAssignLabel(Messages::TMessage &Msg);
- MESSAGE void __fastcall ESPositionLabel(Messages::TMessage &Msg);
- MESSAGE void __fastcall ESRecordLabelPosition(Messages::TMessage &Msg);
- MESSAGE void __fastcall WMMouseWheel(Messages::TMessage &Msg);
- TEsLabelPosition DefaultLabelPosition;
- virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation
- );
- DYNAMIC void __fastcall DoOnMouseWheel(Classes::TShiftState Shift, short Delta, short XPos, short YPos
- );
- __property TEsLabelInfo* EsLabelInfo = {read=FEsLabel, write=FEsLabel};
- __property System::AnsiString Version = {read=GetVersion, write=SetVersion, stored=false};
-
- public:
- __fastcall virtual TEsBase(Classes::TComponent* AOwner);
- __fastcall virtual ~TEsBase(void);
- virtual void __fastcall SetBounds(int ALeft, int ATop, int AWidth, int AHeight);
- __property TEsAttachedLabel* AttachedLabel = {read=GetAttachedLabel};
-
- __published:
- __property TMouseWheelEvent OnMouseWheel = {read=FOnMouseWheel, write=FOnMouseWheel};
- public:
- /* TWinControl.CreateParented */ __fastcall TEsBase(HWND ParentWindow) : Controls::TCustomControl(ParentWindow
- ) { }
-
- };
-
- //-- var, const, procedure ---------------------------------------------------
-
- } /* namespace Esbase */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Esbase;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // EsBase
-