⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 advofficebuttons.hpp

📁 TMS component pack v4.2 for delphi
💻 HPP
📖 第 1 页 / 共 2 页
字号:
// CodeGear C++ Builder
// Copyright (c) 1995, 2007 by CodeGear
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Advofficebuttons.pas' rev: 11.00

#ifndef AdvofficebuttonsHPP
#define AdvofficebuttonsHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <Sysinit.hpp>	// Pascal unit
#include <Sysutils.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Stdctrls.hpp>	// Pascal unit
#include <Menus.hpp>	// Pascal unit
#include <Buttons.hpp>	// Pascal unit
#include <Comobj.hpp>	// Pascal unit
#include <Activex.hpp>	// Pascal unit
#include <Picturecontainer.hpp>	// Pascal unit
#include <Advgroupbox.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Advofficebuttons
{
//-- type declarations -------------------------------------------------------
typedef void __fastcall (__closure *TAnchorClick)(System::TObject* Sender, AnsiString Anchor);

class DELPHICLASS TCustomAdvOfficeCheckBox;
class PASCALIMPLEMENTATION TCustomAdvOfficeCheckBox : public Controls::TCustomControl 
{
	typedef Controls::TCustomControl inherited;
	
private:
	bool FDown;
	Stdctrls::TCheckBoxState FState;
	bool FFocused;
	Graphics::TColor FCheckColor;
	bool FReturnIsTab;
	Controls::TImageList* FImages;
	AnsiString FAnchor;
	TAnchorClick FAnchorClick;
	TAnchorClick FAnchorEnter;
	TAnchorClick FAnchorExit;
	Graphics::TColor FURLColor;
	Picturecontainer::THTMLPictureCache* FImageCache;
	Stdctrls::TTextLayout FBtnVAlign;
	Classes::TAlignment FAlignment;
	bool FEllipsis;
	AnsiString FCaption;
	Picturecontainer::TPictureContainer* FContainer;
	int FShadowOffset;
	Graphics::TColor FShadowColor;
	bool FIsWinXP;
	bool FHot;
	bool FClicksDisabled;
	Controls::TCursor FOldCursor;
	bool FReadOnly;
	Graphics::TBitmap* FBkgBmp;
	bool FBkgCache;
	bool FTransparentCaching;
	bool FDrawBkg;
	HIDESBASE MESSAGE void __fastcall WMEraseBkGnd(Messages::TMessage &Message);
	HIDESBASE MESSAGE void __fastcall CMEnabledChanged(Messages::TMessage &Message);
	HIDESBASE MESSAGE void __fastcall CMDialogChar(Messages::TWMKey &Message);
	HIDESBASE MESSAGE void __fastcall CMMouseLeave(Messages::TMessage &Message);
	HIDESBASE MESSAGE void __fastcall CMMouseEnter(Messages::TMessage &Message);
	void __fastcall SetCheckColor(Graphics::TColor Value);
	void __fastcall SetState(Stdctrls::TCheckBoxState Value);
	void __fastcall SetChecked(bool Value);
	bool __fastcall GetChecked(void);
	void __fastcall SetCaption(AnsiString Value);
	void __fastcall SetImages(const Controls::TImageList* Value);
	void __fastcall SetURLColor(const Graphics::TColor Value);
	AnsiString __fastcall IsAnchor(int x, int y);
	void __fastcall SetButtonVertAlign(const Stdctrls::TTextLayout Value);
	void __fastcall SetAlignment(const Classes::TLeftRight Value);
	void __fastcall SetEllipsis(const bool Value);
	void __fastcall SetContainer(const Picturecontainer::TPictureContainer* Value);
	void __fastcall SetShadowColor(const Graphics::TColor Value);
	void __fastcall SetShadowOffset(const int Value);
	AnsiString __fastcall GetVersion();
	void __fastcall SetVersion(const AnsiString Value);
	void __fastcall DrawParentImage(Controls::TControl* Control, Graphics::TCanvas* Dest);
	
protected:
	virtual int __fastcall GetVersionNr(void);
	virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation AOperation);
	virtual void __fastcall Paint(void);
	DYNAMIC void __fastcall MouseDown(Controls::TMouseButton Button, Classes::TShiftState Shift, int X, int Y);
	DYNAMIC void __fastcall MouseUp(Controls::TMouseButton Button, Classes::TShiftState Shift, int X, int Y);
	DYNAMIC void __fastcall MouseMove(Classes::TShiftState Shift, int X, int Y);
	DYNAMIC void __fastcall KeyDown(Word &Key, Classes::TShiftState Shift);
	DYNAMIC void __fastcall KeyUp(Word &Key, Classes::TShiftState Shift);
	void __fastcall SetDown(bool Value);
	DYNAMIC void __fastcall DoEnter(void);
	DYNAMIC void __fastcall DoExit(void);
	virtual void __fastcall Loaded(void);
	__property bool Checked = {read=GetChecked, write=SetChecked, default=0};
	__property bool ClicksDisabled = {read=FClicksDisabled, write=FClicksDisabled, nodefault};
	
public:
	__fastcall virtual TCustomAdvOfficeCheckBox(Classes::TComponent* AOwner);
	__fastcall virtual ~TCustomAdvOfficeCheckBox(void);
	virtual void __fastcall Toggle(void);
	virtual void __fastcall SetBounds(int ALeft, int ATop, int AWidth, int AHeight);
	__property bool TransparentChaching = {read=FTransparentCaching, write=FTransparentCaching, nodefault};
	__property bool DrawBkg = {read=FDrawBkg, write=FDrawBkg, nodefault};
	
__published:
	__property Action ;
	__property Anchors  = {default=3};
	__property Constraints ;
	__property Color  = {default=-16777211};
	__property Classes::TLeftRight Alignment = {read=FAlignment, write=SetAlignment, nodefault};
	__property Stdctrls::TTextLayout ButtonVertAlign = {read=FBtnVAlign, write=SetButtonVertAlign, default=0};
	__property AnsiString Caption = {read=FCaption, write=SetCaption};
	__property Graphics::TColor CheckColor = {read=FCheckColor, write=SetCheckColor, default=0};
	__property bool Down = {read=FDown, write=SetDown, default=0};
	__property DragCursor  = {default=-12};
	__property DragKind  = {default=0};
	__property DragMode  = {default=0};
	__property bool Ellipsis = {read=FEllipsis, write=SetEllipsis, default=0};
	__property Enabled  = {default=1};
	__property Font ;
	__property Controls::TImageList* Images = {read=FImages, write=SetImages};
	__property ParentFont  = {default=1};
	__property ParentColor  = {default=1};
	__property Picturecontainer::TPictureContainer* PictureContainer = {read=FContainer, write=SetContainer};
	__property PopupMenu ;
	__property bool ReadOnly = {read=FReadOnly, write=FReadOnly, default=0};
	__property bool ReturnIsTab = {read=FReturnIsTab, write=FReturnIsTab, nodefault};
	__property Graphics::TColor ShadowColor = {read=FShadowColor, write=SetShadowColor, default=8421504};
	__property int ShadowOffset = {read=FShadowOffset, write=SetShadowOffset, default=1};
	__property ShowHint ;
	__property Stdctrls::TCheckBoxState State = {read=FState, write=SetState, default=0};
	__property TabOrder  = {default=-1};
	__property TabStop  = {default=0};
	__property Graphics::TColor URLColor = {read=FURLColor, write=SetURLColor, default=16711680};
	__property Visible  = {default=1};
	__property OnClick ;
	__property OnDragDrop ;
	__property OnDragOver ;
	__property OnEndDrag ;
	__property OnKeyDown ;
	__property OnKeyPress ;
	__property OnKeyUp ;
	__property OnMouseDown ;
	__property OnMouseMove ;
	__property OnMouseUp ;
	__property TAnchorClick OnAnchorClick = {read=FAnchorClick, write=FAnchorClick};
	__property TAnchorClick OnAnchorEnter = {read=FAnchorEnter, write=FAnchorEnter};
	__property TAnchorClick OnAnchorExit = {read=FAnchorExit, write=FAnchorExit};
	__property AnsiString Version = {read=GetVersion, write=SetVersion};
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TCustomAdvOfficeCheckBox(HWND ParentWindow) : Controls::TCustomControl(ParentWindow) { }
	#pragma option pop
	
};


class DELPHICLASS TAdvOfficeCheckBox;
class PASCALIMPLEMENTATION TAdvOfficeCheckBox : public TCustomAdvOfficeCheckBox 
{
	typedef TCustomAdvOfficeCheckBox inherited;
	
__published:
	__property Checked  = {default=0};
public:
	#pragma option push -w-inl
	/* TCustomAdvOfficeCheckBox.Create */ inline __fastcall virtual TAdvOfficeCheckBox(Classes::TComponent* AOwner) : TCustomAdvOfficeCheckBox(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomAdvOfficeCheckBox.Destroy */ inline __fastcall virtual ~TAdvOfficeCheckBox(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TAdvOfficeCheckBox(HWND ParentWindow) : TCustomAdvOfficeCheckBox(ParentWindow) { }
	#pragma option pop
	
};


class DELPHICLASS TAdvOfficeRadioButton;
class PASCALIMPLEMENTATION TAdvOfficeRadioButton : public Controls::TCustomControl 
{
	typedef Controls::TCustomControl inherited;
	
private:
	bool FDown;
	bool FChecked;
	bool FFocused;
	Graphics::TColor FCheckColor;
	Byte FGroupIndex;
	bool FReturnIsTab;
	Controls::TImageList* FImages;
	AnsiString FAnchor;
	TAnchorClick FAnchorClick;
	TAnchorClick FAnchorEnter;
	TAnchorClick FAnchorExit;
	Graphics::TColor FURLColor;
	Picturecontainer::THTMLPictureCache* FImageCache;
	Stdctrls::TTextLayout FBtnVAlign;
	Classes::TAlignment FAlignment;
	bool FEllipsis;
	AnsiString FCaption;
	Picturecontainer::TPictureContainer* FContainer;
	int FShadowOffset;
	Graphics::TColor FShadowColor;
	bool FIsWinXP;
	bool FHot;
	bool FClicksDisabled;
	Controls::TCursor FOldCursor;
	Graphics::TBitmap* FBkgBmp;
	bool FBkgCache;
	bool FTransparentCaching;
	bool FDrawBkg;
	void __fastcall TurnSiblingsOff(void);
	void __fastcall SetDown(bool Value);
	void __fastcall SetChecked(bool Value);
	void __fastcall SetCheckColor(Graphics::TColor Value);
	void __fastcall SetImages(const Controls::TImageList* Value);
	void __fastcall SetURLColor(const Graphics::TColor Value);
	AnsiString __fastcall IsAnchor(int x, int y);
	HIDESBASE MESSAGE void __fastcall WMLButtonDown(Messages::TWMMouse &Message);
	HIDESBASE MESSAGE void __fastcall WMEraseBkGnd(Messages::TMessage &Message);
	HIDESBASE MESSAGE void __fastcall CMEnabledChanged(Messages::TMessage &Message);
	HIDESBASE MESSAGE void __fastcall CMDialogChar(Messages::TWMKey &Message);
	HIDESBASE MESSAGE void __fastcall CMMouseLeave(Messages::TMessage &Message);
	HIDESBASE MESSAGE void __fastcall CMMouseEnter(Messages::TMessage &Message);
	void __fastcall SetButtonVertAlign(const Stdctrls::TTextLayout Value);
	void __fastcall SetAlignment(const Classes::TLeftRight Value);
	void __fastcall SetEllipsis(const bool Value);
	void __fastcall SetCaption(const AnsiString Value);
	void __fastcall SetContainer(const Picturecontainer::TPictureContainer* Value);
	void __fastcall SetShadowColor(const Graphics::TColor Value);
	void __fastcall SetShadowOffset(const int Value);
	AnsiString __fastcall GetVersion();
	void __fastcall SetVersion(const AnsiString Value);
	int __fastcall GetVersionNr(void);
	void __fastcall DrawParentImage(Controls::TControl* Control, Graphics::TCanvas* Dest);
	
protected:
	virtual void __fastcall Paint(void);
	virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation AOperation);
	DYNAMIC void __fastcall MouseDown(Controls::TMouseButton Button, Classes::TShiftState Shift, int X, int Y);
	DYNAMIC void __fastcall MouseUp(Controls::TMouseButton Button, Classes::TShiftState Shift, int X, int Y);
	DYNAMIC void __fastcall MouseMove(Classes::TShiftState Shift, int X, int Y);
	DYNAMIC void __fastcall KeyDown(Word &Key, Classes::TShiftState Shift);
	DYNAMIC void __fastcall KeyUp(Word &Key, Classes::TShiftState Shift);
	DYNAMIC void __fastcall DoEnter(void);
	DYNAMIC void __fastcall DoExit(void);
	virtual void __fastcall Loaded(void);
	DYNAMIC void __fastcall Click(void);
	virtual void __fastcall DoClick(void);
	__property bool ClicksDisabled = {read=FClicksDisabled, write=FClicksDisabled, nodefault};
	
public:
	__fastcall virtual TAdvOfficeRadioButton(Classes::TComponent* AOwner);
	__fastcall virtual ~TAdvOfficeRadioButton(void);
	virtual void __fastcall SetBounds(int ALeft, int ATop, int AWidth, int AHeight);
	__property bool TransparentChaching = {read=FTransparentCaching, write=FTransparentCaching, nodefault};
	__property bool DrawBkg = {read=FDrawBkg, write=FDrawBkg, nodefault};
	
__published:
	__property Action ;
	__property Anchors  = {default=3};
	__property Constraints ;
	__property Color  = {default=-16777211};
	__property Classes::TLeftRight Alignment = {read=FAlignment, write=SetAlignment, nodefault};
	__property Graphics::TColor URLColor = {read=FURLColor, write=SetURLColor, default=16711680};
	__property Stdctrls::TTextLayout ButtonVertAlign = {read=FBtnVAlign, write=SetButtonVertAlign, default=0};
	__property AnsiString Caption = {read=FCaption, write=SetCaption};
	__property Graphics::TColor CheckColor = {read=FCheckColor, write=SetCheckColor, default=0};
	__property bool Checked = {read=FChecked, write=SetChecked, default=0};
	__property bool Down = {read=FDown, write=SetDown, default=0};
	__property DragCursor  = {default=-12};
	__property DragKind  = {default=0};
	__property DragMode  = {default=0};
	__property bool Ellipsis = {read=FEllipsis, write=SetEllipsis, default=0};
	__property Enabled  = {default=1};
	__property Font ;
	__property Byte GroupIndex = {read=FGroupIndex, write=FGroupIndex, default=0};
	__property Controls::TImageList* Images = {read=FImages, write=SetImages};
	__property ParentFont  = {default=1};
	__property ParentColor  = {default=1};
	__property Picturecontainer::TPictureContainer* PictureContainer = {read=FContainer, write=SetContainer};
	__property PopupMenu ;
	__property bool ReturnIsTab = {read=FReturnIsTab, write=FReturnIsTab, nodefault};
	__property Graphics::TColor ShadowColor = {read=FShadowColor, write=SetShadowColor, default=8421504};
	__property int ShadowOffset = {read=FShadowOffset, write=SetShadowOffset, default=1};
	__property ShowHint ;
	__property TabOrder  = {default=-1};
	__property TabStop  = {default=0};
	__property OnClick ;
	__property OnDragDrop ;
	__property OnDragOver ;
	__property OnEndDrag ;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -