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) 'AHMTFormDivider.pas' rev: 3.00
-
- #ifndef AHMTFormDividerHPP
- #define AHMTFormDividerHPP
- #include <Controls.hpp>
- #include <AHMSControls.hpp>
- #include <StdCtrls.hpp>
- #include <Graphics.hpp>
- #include <Classes.hpp>
- #include <SysUtils.hpp>
- #include <Messages.hpp>
- #include <Windows.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
-
- namespace Ahmtformdivider
- {
- //-- type declarations -------------------------------------------------------
- enum TAHMDivBorder { bdrSunken, bdrRaised, bdrEtched, frmSunken, frmRaised, frmEtched };
-
- class DELPHICLASS TAHMFormDivider;
- class PASCALIMPLEMENTATION TAHMFormDivider : public Stdctrls::TCustomLabel
- {
- typedef Stdctrls::TCustomLabel inherited;
-
- private:
- Ahmscontrols::TAHMAboutSControlStr FAboutStr;
- HWND AppHandle;
- HWND MyOwnerhandle;
- Controls::TWinControl* MyOwner;
- bool FAlignWidth;
- int FSideSpace;
- TAHMDivBorder FBorderStyle;
- void __fastcall SetSideSpace(int Value);
- void __fastcall SetAlignWidth(bool Value);
- void __fastcall SetBorderStyle(TAHMDivBorder Value);
-
- protected:
- void *OldWndProc;
- void *NewWndProc;
- virtual void __fastcall Loaded(void);
- void __fastcall HookWin(void);
- void __fastcall UnhookWin(void);
-
- public:
- virtual void __fastcall Hooked(Messages::TMessage &AMsg);
- __fastcall virtual ~TAHMFormDivider(void);
- __fastcall virtual TAHMFormDivider(Classes::TComponent* AOwner);
- virtual void __fastcall Paint(void);
-
- __published:
- __property Ahmscontrols::TAHMAboutSControlStr About = {read=FAboutStr, write=FAboutStr};
- __property bool AlignWidth = {read=FAlignWidth, write=SetAlignWidth, nodefault};
- __property TAHMDivBorder BorderStyle = {read=FBorderStyle, write=SetBorderStyle, default=2};
- __property int SideSpace = {read=FSideSpace, write=SetSideSpace, default=20};
- __property Width ;
- __property Height ;
- __property Font ;
- __property Caption ;
- };
-
- //-- var, const, procedure ---------------------------------------------------
-
- } /* namespace Ahmtformdivider */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Ahmtformdivider;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // AHMTFormDivider
-