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

📄 slistview.hpp

📁 I mComputermaster programmisDelphi+pascal
💻 HPP
字号:
// CodeGear C++Builder
// Copyright (c) 1995, 2008 by CodeGear
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Slistview.pas' rev: 20.00

#ifndef SlistviewHPP
#define SlistviewHPP

#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 <Windows.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Sysutils.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 <Sconst.hpp>	// Pascal unit
#include <Comctrls.hpp>	// Pascal unit
#include <Types.hpp>	// Pascal unit
#include <Commctrl.hpp>	// Pascal unit
#include <Scommondata.hpp>	// Pascal unit
#include <Smessages.hpp>	// Pascal unit
#include <Acsbutils.hpp>	// Pascal unit
#include <Imglist.hpp>	// Pascal unit
#include <Menus.hpp>	// Pascal unit

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

namespace Slistview
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TsCustomListView;
class PASCALIMPLEMENTATION TsCustomListView : public Comctrls::TCustomListView
{
	typedef Comctrls::TCustomListView inherited;
	
private:
	bool Loading;
	HWND FhWndHeader;
	void *FhHeaderProc;
	void *FhDefHeaderProc;
	int FPressedColumn;
	Scommondata::TsCommonData* FCommonData;
	int HoverColIndex;
	Scommondata::TsBoundLabel* FBoundLabel;
	bool FHighlightHeaders;
	Comctrls::TLVAdvancedCustomDrawEvent FOldAdvancedCustomDraw;
	bool FFlag;
	HIDESBASE MESSAGE void __fastcall CMMouseLeave(Messages::TMessage &Msg);
	MESSAGE void __fastcall WMHitTest(Messages::TMessage &Message);
	HIDESBASE MESSAGE void __fastcall WMParentNotify(Messages::TWMParentNotify &Message);
	void __fastcall NewAdvancedCustomDraw(Comctrls::TCustomListView* Sender, const Types::TRect &ARect, Comctrls::TCustomDrawStage Stage, bool &DefaultDraw);
	void __fastcall PrepareCache(void);
	Types::TRect __fastcall GetHeaderColumnRect(int Index);
	void __fastcall ColumnSkinPaint(const Types::TRect &ControlRect, int cIndex);
	void __fastcall PaintHeader(void);
	
protected:
	Acsbutils::TacScrollWnd* ListSW;
	virtual void __fastcall WndProc(Messages::TMessage &Message);
	HIDESBASE void __fastcall HeaderWndProc(Messages::TMessage &Message);
	int __fastcall AllColWidth(void);
	bool __fastcall FullRepaint(void);
	__property BorderStyle = {default=1};
	void __fastcall InvalidateSmooth(bool Always);
	
public:
	int ListLineHeight;
	__fastcall virtual TsCustomListView(Classes::TComponent* AOwner);
	__fastcall virtual ~TsCustomListView(void);
	virtual void __fastcall AfterConstruction(void);
	virtual void __fastcall Loaded(void);
	
__published:
	__property Scommondata::TsBoundLabel* BoundLabel = {read=FBoundLabel, write=FBoundLabel};
	__property Scommondata::TsCommonData* SkinData = {read=FCommonData, write=FCommonData};
	__property bool HighlightHeaders = {read=FHighlightHeaders, write=FHighlightHeaders, default=1};
public:
	/* TWinControl.CreateParented */ inline __fastcall TsCustomListView(HWND ParentWindow) : Comctrls::TCustomListView(ParentWindow) { }
	
};


class DELPHICLASS TsListView;
class PASCALIMPLEMENTATION TsListView : public TsCustomListView
{
	typedef TsCustomListView inherited;
	
__published:
	__property Align = {default=0};
	__property AllocBy = {default=0};
	__property Anchors = {default=3};
	__property BiDiMode;
	__property BorderStyle = {default=1};
	__property BorderWidth = {default=0};
	__property Checkboxes = {default=0};
	__property Color = {default=-16777211};
	__property Columns;
	__property ColumnClick = {default=1};
	__property Constraints;
	__property Ctl3D;
	__property DragCursor = {default=-12};
	__property DragKind = {default=0};
	__property DragMode = {default=0};
	__property Enabled = {default=1};
	__property Font;
	__property FlatScrollBars = {default=0};
	__property FullDrag = {default=0};
	__property GridLines = {default=0};
	__property HideSelection = {default=1};
	__property HotTrack = {default=0};
	__property HotTrackStyles = {default=0};
	__property HoverTime = {default=-1};
	__property IconOptions;
	__property Items;
	__property LargeImages;
	__property MultiSelect = {default=0};
	__property OwnerData = {default=0};
	__property OwnerDraw = {default=0};
	__property ReadOnly = {default=0};
	__property RowSelect = {default=0};
	__property ParentBiDiMode = {default=1};
	__property ParentColor = {default=0};
	__property ParentFont = {default=1};
	__property ParentShowHint = {default=1};
	__property PopupMenu;
	__property ShowColumnHeaders = {default=1};
	__property ShowWorkAreas = {default=0};
	__property ShowHint;
	__property SmallImages;
	__property SortType = {default=0};
	__property StateImages;
	__property TabOrder = {default=-1};
	__property TabStop = {default=1};
	__property ViewStyle = {default=0};
	__property Visible = {default=1};
	__property OnAdvancedCustomDraw;
	__property OnAdvancedCustomDrawItem;
	__property OnAdvancedCustomDrawSubItem;
	__property OnChange;
	__property OnChanging;
	__property OnClick;
	__property OnColumnClick;
	__property OnColumnDragged;
	__property OnColumnRightClick;
	__property OnCompare;
	__property OnContextPopup;
	__property OnCustomDraw;
	__property OnCustomDrawItem;
	__property OnCustomDrawSubItem;
	__property OnData;
	__property OnDataFind;
	__property OnDataHint;
	__property OnDataStateChange;
	__property OnDblClick;
	__property OnDeletion;
	__property OnDrawItem;
	__property OnEdited;
	__property OnEditing;
	__property OnEndDock;
	__property OnEndDrag;
	__property OnEnter;
	__property OnExit;
	__property OnGetImageIndex;
	__property OnGetSubItemImage;
	__property OnDragDrop;
	__property OnDragOver;
	__property OnInfoTip;
	__property OnInsert;
	__property OnKeyDown;
	__property OnKeyPress;
	__property OnKeyUp;
	__property OnMouseDown;
	__property OnMouseMove;
	__property OnMouseUp;
	__property OnResize;
	__property OnSelectItem;
	__property OnStartDock;
	__property OnStartDrag;
	__property BoundLabel;
	__property SkinData;
public:
	/* TsCustomListView.Create */ inline __fastcall virtual TsListView(Classes::TComponent* AOwner) : TsCustomListView(AOwner) { }
	/* TsCustomListView.Destroy */ inline __fastcall virtual ~TsListView(void) { }
	
public:
	/* TWinControl.CreateParented */ inline __fastcall TsListView(HWND ParentWindow) : TsCustomListView(ParentWindow) { }
	
};


class DELPHICLASS TsHackedListItems;
class PASCALIMPLEMENTATION TsHackedListItems : public Comctrls::TListItems
{
	typedef Comctrls::TListItems inherited;
	
public:
	bool FNoRedraw;
public:
	/* TListItems.Create */ inline __fastcall TsHackedListItems(Comctrls::TCustomListView* AOwner) : Comctrls::TListItems(AOwner) { }
	/* TListItems.Destroy */ inline __fastcall virtual ~TsHackedListItems(void) { }
	
};


//-- var, const, procedure ---------------------------------------------------

}	/* namespace Slistview */
using namespace Slistview;
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// SlistviewHPP

⌨️ 快捷键说明

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