📄 advofficeimage.hpp
字号:
// CodeGear C++ Builder
// Copyright (c) 1995, 2007 by CodeGear
// All rights reserved
// (DO NOT EDIT: machine generated header) 'Advofficeimage.pas' rev: 11.00
#ifndef AdvofficeimageHPP
#define AdvofficeimageHPP
#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 <Classes.hpp> // Pascal unit
#include <Windows.hpp> // Pascal unit
#include <Forms.hpp> // Pascal unit
#include <Dialogs.hpp> // Pascal unit
#include <Controls.hpp> // Pascal unit
#include <Graphics.hpp> // Pascal unit
#include <Messages.hpp> // Pascal unit
#include <Extctrls.hpp> // Pascal unit
#include <Sysutils.hpp> // Pascal unit
#include <Gdipicture.hpp> // Pascal unit
#include <Advhintinfo.hpp> // Pascal unit
#include <Menus.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Advofficeimage
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAdvOfficeImage;
class PASCALIMPLEMENTATION TAdvOfficeImage : public Controls::TGraphicControl
{
typedef Controls::TGraphicControl inherited;
private:
int FOffSet;
bool FMouseInControl;
Classes::TNotifyEvent FOnMouseLeave;
Classes::TNotifyEvent FOnMouseEnter;
Advhintinfo::TAdvHintInfo* FOfficeHint;
Gdipicture::TGDIPPicture* FIPicture;
void __fastcall OnPictureChanged(System::TObject* Sender);
HIDESBASE MESSAGE void __fastcall CMMouseEnter(Messages::TMessage &Message);
HIDESBASE MESSAGE void __fastcall CMMouseLeave(Messages::TMessage &Message);
AnsiString __fastcall GetVersion();
void __fastcall SetVersion(const AnsiString Value);
void __fastcall SetOfficeHint(const Advhintinfo::TAdvHintInfo* Value);
void __fastcall SetIPicture(const Gdipicture::TGDIPPicture* Value);
protected:
virtual void __fastcall DrawImage(Graphics::TCanvas* ACanvas);
virtual void __fastcall Paint(void);
__property bool MouseInControl = {read=FMouseInControl, nodefault};
public:
__fastcall virtual TAdvOfficeImage(Classes::TComponent* AOwner);
__fastcall virtual ~TAdvOfficeImage(void);
virtual int __fastcall GetVersionNr(void);
__published:
__property Anchors = {default=3};
__property BiDiMode ;
__property Constraints ;
__property Gdipicture::TGDIPPicture* Picture = {read=FIPicture, write=SetIPicture};
__property PopupMenu ;
__property ShowHint ;
__property Advhintinfo::TAdvHintInfo* OfficeHint = {read=FOfficeHint, write=SetOfficeHint};
__property AnsiString Version = {read=GetVersion, write=SetVersion};
__property Visible = {default=1};
__property OnClick ;
__property OnDblClick ;
__property OnMouseDown ;
__property OnMouseMove ;
__property OnMouseUp ;
__property Classes::TNotifyEvent OnMouseEnter = {read=FOnMouseEnter, write=FOnMouseEnter};
__property Classes::TNotifyEvent OnMouseLeave = {read=FOnMouseLeave, write=FOnMouseLeave};
};
//-- var, const, procedure ---------------------------------------------------
static const Shortint MAJ_VER = 0x1;
static const Shortint MIN_VER = 0x0;
static const Shortint REL_VER = 0x0;
static const Shortint BLD_VER = 0x0;
} /* namespace Advofficeimage */
using namespace Advofficeimage;
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // Advofficeimage
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -