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

📄 advlistv.hpp

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

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

#ifndef AdvlistvHPP
#define AdvlistvHPP

#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 <Comctrls.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Stdctrls.hpp>	// Pascal unit
#include <Sysutils.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Commctrl.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Picturecontainer.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Comobj.hpp>	// Pascal unit
#include <Activex.hpp>	// Pascal unit
#include <Clipbrd.hpp>	// Pascal unit
#include <Printers.hpp>	// Pascal unit
#include <Registry.hpp>	// Pascal unit
#include <Shellapi.hpp>	// Pascal unit
#include <Alvutil.hpp>	// Pascal unit
#include <Richedit.hpp>	// Pascal unit
#include <Imglist.hpp>	// Pascal unit
#include <Variants.hpp>	// Pascal unit

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

namespace Advlistv
{
//-- type declarations -------------------------------------------------------
#pragma option push -b-
enum TVAlignment { vtaCenter, vtaTop, vtaBottom };
#pragma option pop

struct THDItemExA;
typedef THDItemExA *PHDItemExA;

struct THDItemExW;
typedef THDItemExW *PHDItemExW;

typedef THDItemExA *PHDItemEx;

#pragma pack(push,1)
struct THDItemExA
{
	
public:
	unsigned Mask;
	int cxy;
	char *pszText;
	HBITMAP hbm;
	int cchTextMax;
	int fmt;
	int lParam;
	int iImage;
	int iOrder;
	int hdtype;
	void *pvFilter;
} ;
#pragma pack(pop)

#pragma pack(push,1)
struct THDItemExW
{
	
public:
	unsigned Mask;
	int cxy;
	WideChar *pszText;
	HBITMAP hbm;
	int cchTextMax;
	int fmt;
	int lParam;
	int iImage;
	int iOrder;
	int hdtype;
	void *pvFilter;
} ;
#pragma pack(pop)

typedef THDItemExA  THDItemEx;

struct THDTextFilter;
typedef THDTextFilter *PHDTextFilter;

struct THDTextFilter
{
	
public:
	char *pszText;
	int cchTextMax;
} ;

class DELPHICLASS EAdvListViewError;
class PASCALIMPLEMENTATION EAdvListViewError : public Sysutils::Exception 
{
	typedef Sysutils::Exception inherited;
	
public:
	#pragma option push -w-inl
	/* Exception.Create */ inline __fastcall EAdvListViewError(const AnsiString Msg) : Sysutils::Exception(Msg) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateFmt */ inline __fastcall EAdvListViewError(const AnsiString Msg, System::TVarRec const * Args, const int Args_Size) : Sysutils::Exception(Msg, Args, Args_Size) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateRes */ inline __fastcall EAdvListViewError(int Ident)/* overload */ : Sysutils::Exception(Ident) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateResFmt */ inline __fastcall EAdvListViewError(int Ident, System::TVarRec const * Args, const int Args_Size)/* overload */ : Sysutils::Exception(Ident, Args, Args_Size) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateHelp */ inline __fastcall EAdvListViewError(const AnsiString Msg, int AHelpContext) : Sysutils::Exception(Msg, AHelpContext) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateFmtHelp */ inline __fastcall EAdvListViewError(const AnsiString Msg, System::TVarRec const * Args, const int Args_Size, int AHelpContext) : Sysutils::Exception(Msg, Args, Args_Size, AHelpContext) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateResHelp */ inline __fastcall EAdvListViewError(int Ident, int AHelpContext)/* overload */ : Sysutils::Exception(Ident, AHelpContext) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateResFmtHelp */ inline __fastcall EAdvListViewError(System::PResStringRec ResStringRec, System::TVarRec const * Args, const int Args_Size, int AHelpContext)/* overload */ : Sysutils::Exception(ResStringRec, Args, Args_Size, AHelpContext) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~EAdvListViewError(void) { }
	#pragma option pop
	
};


#pragma option push -b-
enum TSortDirection { sdAscending, sdDescending };
#pragma option pop

#pragma option push -b-
enum TSortIndicator { siLeft, siRight };
#pragma option pop

#pragma option push -b-
enum TSortStyle { ssAutomatic, ssAlphabetic, ssNumeric, ssDate, ssAlphaNoCase, ssAlphaCase, ssShortDateEU, ssShortDateUS, ssCustom, ssFinancial, ssRaw };
#pragma option pop

#pragma option push -b-
enum TLVExtendedStyle { lvxGridLines, lvxSubItemImages, lvxCheckboxes, lvxTrackSelect, lvxHeaderDragDrop, lvxFullRowSelect, lvxOneClickActivate, lvxTwoClickActivate };
#pragma option pop

typedef Set<TLVExtendedStyle, lvxGridLines, lvxTwoClickActivate>  TLVExtendedStyles;

typedef void __fastcall (__closure *TLVAnchorClick)(System::TObject* Sender, AnsiString Anchor);

typedef void __fastcall (__closure *TDrawItemProp)(System::TObject* Sender, int ItemIndex, int SubitemIndex, Windows::TOwnerDrawState AState, Graphics::TBrush* ABrush, Graphics::TFont* AFont, AnsiString ItemText);

typedef void __fastcall (__closure *TDrawDetailProp)(System::TObject* Sender, int ItemIndex, Windows::TOwnerDrawState AState, Graphics::TBrush* ABrush, Graphics::TFont* AFont, AnsiString ItemText);

typedef void __fastcall (__closure *TDrawItemEvent)(System::TObject* Sender, Graphics::TCanvas* aCanvas, int itemindex, const Types::TRect &Rect, Windows::TOwnerDrawState State);

typedef void __fastcall (__closure *TPrintPageEvent)(System::TObject* Sender, Graphics::TCanvas* Canvas, int pagenr, int pagexsize, int pageysize);

typedef void __fastcall (__closure *TSortStartEvent)(System::TObject* Sender, int Column, bool &Enable);

typedef void __fastcall (__closure *TSortDoneEvent)(System::TObject* Sender, int Column);

typedef void __fastcall (__closure *TColumnSizeEvent)(System::TObject* Sender, int Column);

typedef void __fastcall (__closure *TFormatEvent)(System::TObject* Sender, int ACol, TSortStyle &AStyle, AnsiString &aPrefix, AnsiString &aSuffix);

typedef void __fastcall (__closure *TCustomCompareEvent)(System::TObject* Sender, int ACol, const AnsiString str1, const AnsiString str2, int &res);

typedef void __fastcall (__closure *TRawCompareEvent)(System::TObject* Sender, int Col, int Row1, int Row2, int &res);

typedef void __fastcall (__closure *TOnResizeEvent)(System::TObject* Sender);

typedef void __fastcall (__closure *TDoFitToPageEvent)(System::TObject* Sender, double &ScaleFactor, bool &Allow);

typedef void __fastcall (__closure *TPrintColumnWidthEvent)(System::TObject* Sender, int ACol, int &width);

typedef void __fastcall (__closure *TPrintNewPageEvent)(System::TObject* Sender, int ARow, bool &NewPage);

typedef void __fastcall (__closure *TStartColumnTrackEvent)(System::TObject* Sender, int Column, bool &Allow);

typedef void __fastcall (__closure *TEndColumnTrackEvent)(System::TObject* Sender, int Column);

typedef void __fastcall (__closure *TClickCellEvent)(System::TObject* Sender, int iItem, int iSubItem);

typedef void __fastcall (__closure *TEditCellEvent)(System::TObject* Sender, int iItem, int iSubItem, bool &Allow);

typedef void __fastcall (__closure *TFilterChange)(System::TObject* Sender, int iItem);

typedef void __fastcall (__closure *TFilterBtnClick)(System::TObject* Sender, int iItem);

typedef void __fastcall (__closure *TCheckboxClickEvent)(System::TObject* Sender, int iItem, bool State);

typedef void __fastcall (__closure *TURLClickEvent)(System::TObject* Sender, int iItem, AnsiString URL, bool &Handled);

struct TLVItemEx;
typedef TLVItemEx *PLVItemEx;

#pragma pack(push,1)
struct TLVItemEx
{
	
public:
	unsigned mask;
	int iItem;
	int iSubItem;
	unsigned state;
	unsigned stateMask;
	char *pszText;
	int cchTextMax;
	int iImage;
	int lParam;
	int iIndent;
} ;
#pragma pack(pop)

struct TLVHitTestInfoEx;
typedef TLVHitTestInfoEx *PLVHitTestInfoEx;

#pragma pack(push,1)
struct TLVHitTestInfoEx
{
	
public:
	#pragma pack(push,1)
	Types::TPoint pt;
	#pragma pack(pop)
	unsigned flags;
	int iItem;
	int iSubItem;
} ;
#pragma pack(pop)

#pragma pack(push,1)
struct TLVColumnEx
{
	
public:
	unsigned mask;
	int fmt;
	int cx;
	char *pszText;
	int cchTextMax;
	int iSubItem;
	int iImage;
	int iOrder;
} ;
#pragma pack(pop)

class DELPHICLASS THTMLSettings;
class PASCALIMPLEMENTATION THTMLSettings : public Classes::TPersistent 
{
	typedef Classes::TPersistent inherited;
	
private:
	bool FSaveColor;
	bool FSaveFonts;
	AnsiString FFooterFile;
	AnsiString FHeaderFile;
	int FBorderSize;
	int FCellSpacing;
	AnsiString FTableStyle;
	AnsiString FPrefixTag;
	AnsiString FSuffixTag;
	int FWidth;
	
public:
	__fastcall THTMLSettings(void);
	
__published:
	__property int BorderSize = {read=FBorderSize, write=FBorderSize, default=1};
	__property int CellSpacing = {read=FCellSpacing, write=FCellSpacing, default=0};
	__property bool SaveColor = {read=FSaveColor, write=FSaveColor, default=1};
	__property bool SaveFonts = {read=FSaveFonts, write=FSaveFonts, default=1};
	__property AnsiString FooterFile = {read=FFooterFile, write=FFooterFile};
	__property AnsiString HeaderFile = {read=FHeaderFile, write=FHeaderFile};
	__property AnsiString TableStyle = {read=FTableStyle, write=FTableStyle};
	__property AnsiString PrefixTag = {read=FPrefixTag, write=FPrefixTag};
	__property AnsiString SuffixTag = {read=FSuffixTag, write=FSuffixTag};
	__property int Width = {read=FWidth, write=FWidth, nodefault};
public:
	#pragma option push -w-inl
	/* TPersistent.Destroy */ inline __fastcall virtual ~THTMLSettings(void) { }
	#pragma option pop
	
};


#pragma option push -b-
enum TPrintPosition { ppNone, ppTopLeft, ppTopRight, ppTopCenter, ppBottomLeft, ppBottomRight, ppBottomCenter };
#pragma option pop

#pragma option push -b-
enum TFitToPage { fpNever, fpGrow, fpShrink, fpAlways, fpCustom };
#pragma option pop

#pragma option push -b-
enum TPrintBorders { pbNoborder, pbSingle, pbDouble, pbVertical, pbHorizontal };

⌨️ 快捷键说明

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