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) 'AHMTCommandLabel.pas' rev: 3.00
-
- #ifndef AHMTCommandLabelHPP
- #define AHMTCommandLabelHPP
- #include <AHMSControls.hpp>
- #include <Controls.hpp>
- #include <Graphics.hpp>
- #include <ShellAPI.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include <Classes.hpp>
- #include <Messages.hpp>
- #include <Windows.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
-
- namespace Ahmtcommandlabel
- {
- //-- type declarations -------------------------------------------------------
- enum TAHMCommand { runNothing, runMAIL, runURL, runFTP, runFILE, runEVENT };
-
- class DELPHICLASS TAHMCommandLabel;
- class PASCALIMPLEMENTATION TAHMCommandLabel : public Stdctrls::TLabel
- {
- typedef Stdctrls::TLabel inherited;
-
- private:
- TAHMCommand FCommand;
- Graphics::TColor FActiveColor;
- Graphics::TColor NFontColor;
- Graphics::TColor FMOver;
- Ahmscontrols::TAHMAboutSControlStr FAboutStr;
- bool Followed;
- bool Pushed;
- bool FDown;
- bool FEnabled;
- bool MouseIn;
- Classes::TNotifyEvent foncommand;
- HIDESBASE MESSAGE void __fastcall WMMouseMove(Messages::TWMMouse &msg);
- HIDESBASE MESSAGE void __fastcall WMLButtonDown(Messages::TWMMouse &msg);
- HIDESBASE MESSAGE void __fastcall WMLButtonUp(Messages::TWMMouse &msg);
-
- public:
- __fastcall virtual TAHMCommandLabel(Classes::TComponent* AOwner);
- DYNAMIC void __fastcall Click(void);
- virtual void __fastcall Loaded(void);
-
- __published:
- __property Ahmscontrols::TAHMAboutSControlStr About = {read=FAboutStr, write=FAboutStr};
- __property TAHMCommand Command = {read=FCommand, write=FCommand, default=2};
- __property Graphics::TColor FollowedColor = {read=FActiveColor, write=FActiveColor, default=8388736
- };
- __property Graphics::TColor MoveOverColor = {read=FMOver, write=FMOver, default=255};
- __property Classes::TNotifyEvent RunEvent = {read=foncommand, write=foncommand};
- public:
- /* TGraphicControl.Destroy */ __fastcall virtual ~TAHMCommandLabel(void) { }
-
- };
-
- //-- var, const, procedure ---------------------------------------------------
-
- } /* namespace Ahmtcommandlabel */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Ahmtcommandlabel;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // AHMTCommandLabel
-