📄 advgrid.hpp
字号:
// CodeGear C++ Builder
// Copyright (c) 1995, 2007 by CodeGear
// All rights reserved
// (DO NOT EDIT: machine generated header) 'Advgrid.pas' rev: 11.00
#ifndef AdvgridHPP
#define AdvgridHPP
#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 <Graphics.hpp> // Pascal unit
#include <Sysutils.hpp> // Pascal unit
#include <Messages.hpp> // Pascal unit
#include <Classes.hpp> // Pascal unit
#include <Controls.hpp> // Pascal unit
#include <Grids.hpp> // Pascal unit
#include <Clipbrd.hpp> // Pascal unit
#include <Dialogs.hpp> // Pascal unit
#include <Printers.hpp> // Pascal unit
#include <Forms.hpp> // Pascal unit
#include <Stdctrls.hpp> // Pascal unit
#include <Buttons.hpp> // Pascal unit
#include <Advutil.hpp> // Pascal unit
#include <Extctrls.hpp> // Pascal unit
#include <Inifiles.hpp> // Pascal unit
#include <Asgspin.hpp> // Pascal unit
#include <Asgedit.hpp> // Pascal unit
#include <Comctrls.hpp> // Pascal unit
#include <Asgcombo.hpp> // Pascal unit
#include <Richedit.hpp> // Pascal unit
#include <Commctrl.hpp> // Pascal unit
#include <Registry.hpp> // Pascal unit
#include <Shellapi.hpp> // Pascal unit
#include <Picturecontainer.hpp> // Pascal unit
#include <Asgcheck.hpp> // Pascal unit
#include <Asghtmle.hpp> // Pascal unit
#include <Basegrid.hpp> // Pascal unit
#include <Mask.hpp> // Pascal unit
#include <Advstyleif.hpp> // Pascal unit
#include <Olectnrs.hpp> // Pascal unit
#include <Advxpvs.hpp> // Pascal unit
#include <Comobj.hpp> // Pascal unit
#include <Winspool.hpp> // Pascal unit
#include <Activex.hpp> // Pascal unit
#include <Imglist.hpp> // Pascal unit
#include <Asgdd.hpp> // Pascal unit
#include <Asguni.hpp> // Pascal unit
#include <Variants.hpp> // Pascal unit
#include <Advobj.hpp> // Pascal unit
#include <Advhintinfo.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Advgrid
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TWinCtrl;
class PASCALIMPLEMENTATION TWinCtrl : public Controls::TWinControl
{
typedef Controls::TWinControl inherited;
public:
#pragma option push -w-inl
/* TWinControl.Create */ inline __fastcall virtual TWinCtrl(Classes::TComponent* AOwner) : Controls::TWinControl(AOwner) { }
#pragma option pop
#pragma option push -w-inl
/* TWinControl.CreateParented */ inline __fastcall TWinCtrl(HWND ParentWindow) : Controls::TWinControl(ParentWindow) { }
#pragma option pop
#pragma option push -w-inl
/* TWinControl.Destroy */ inline __fastcall virtual ~TWinCtrl(void) { }
#pragma option pop
};
typedef bool TBoolArray[513];
typedef TBoolArray *PBoolArray;
typedef short TWidthArray[513];
#pragma option push -b-
enum TAdvGridStyle { gsOffice2003Blue, gsOffice2003Silver, gsOffice2003Olive, gsOffice2003Classic, gsOffice2007Luna, gsOffice2007Obsidian, gsWindowsXP, gsWhidbey, gsCustom, gsOffice2007Silver };
#pragma option pop
class DELPHICLASS EAdvGridError;
class PASCALIMPLEMENTATION EAdvGridError : public Sysutils::Exception
{
typedef Sysutils::Exception inherited;
public:
#pragma option push -w-inl
/* Exception.Create */ inline __fastcall EAdvGridError(const AnsiString Msg) : Sysutils::Exception(Msg) { }
#pragma option pop
#pragma option push -w-inl
/* Exception.CreateFmt */ inline __fastcall EAdvGridError(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 EAdvGridError(int Ident)/* overload */ : Sysutils::Exception(Ident) { }
#pragma option pop
#pragma option push -w-inl
/* Exception.CreateResFmt */ inline __fastcall EAdvGridError(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 EAdvGridError(const AnsiString Msg, int AHelpContext) : Sysutils::Exception(Msg, AHelpContext) { }
#pragma option pop
#pragma option push -w-inl
/* Exception.CreateFmtHelp */ inline __fastcall EAdvGridError(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 EAdvGridError(int Ident, int AHelpContext)/* overload */ : Sysutils::Exception(Ident, AHelpContext) { }
#pragma option pop
#pragma option push -w-inl
/* Exception.CreateResFmtHelp */ inline __fastcall EAdvGridError(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 ~EAdvGridError(void) { }
#pragma option pop
};
typedef Basegrid::TVAlignment TAsgVAlignment;
typedef void __fastcall (__closure *TGetEditorTypeEvent)(System::TObject* Sender, int ACol, int ARow, Basegrid::TEditorType &AEditor);
typedef void __fastcall (__closure *TEllipsClickEvent)(System::TObject* Sender, int ACol, int ARow, AnsiString &S);
typedef void __fastcall (__closure *TButtonClickEvent)(System::TObject* Sender, int ACol, int ARow);
typedef void __fastcall (__closure *TCheckBoxClickEvent)(System::TObject* Sender, int ACol, int ARow, bool State);
typedef void __fastcall (__closure *TRadioClickEvent)(System::TObject* Sender, int ACol, int ARow, int AIdx);
typedef void __fastcall (__closure *TComboChangeEvent)(System::TObject* Sender, int ACol, int ARow, int AItemIndex, AnsiString ASelection);
typedef void __fastcall (__closure *TComboObjectChangeEvent)(System::TObject* Sender, int ACol, int ARow, int AItemIndex, AnsiString ASelection, System::TObject* AObject);
typedef void __fastcall (__closure *TSpinClickEvent)(System::TObject* Sender, int ACol, int ARow, int AValue, bool UpDown);
typedef void __fastcall (__closure *TFloatSpinClickEvent)(System::TObject* Sender, int ACol, int ARow, double AValue, bool UpDown);
typedef void __fastcall (__closure *TDateTimeSpinClickEvent)(System::TObject* Sender, int ACol, int ARow, System::TDateTime AValue, bool UpDown);
typedef void __fastcall (__closure *TCellSaveLoadEvent)(System::TObject* Sender, int ACol, int ARow, AnsiString &Value);
typedef void __fastcall (__closure *TGetEditWideTextEvent)(System::TObject* Sender, int ACol, int ARow, WideString &Value);
typedef void __fastcall (__closure *TSetEditWideTextEvent)(System::TObject* Sender, int ACol, int ARow, const WideString Value);
#pragma option push -b-
enum TScrollHintType { shNone, shVertical, shHorizontal, shBoth };
#pragma option pop
#pragma option push -b-
enum TFilterOperation { foSHORT, foNONE, foAND, foXOR, foOR };
#pragma option pop
#pragma option push -b-
enum TSortStyle { ssAutomatic, ssAlphabetic, ssNumeric, ssDate, ssAlphaNoCase, ssAlphaCase, ssShortDateEU, ssShortDateUS, ssCustom, ssFinancial, ssAnsiAlphaCase, ssAnsiAlphaNoCase, ssRaw, ssHTML, ssImages, ssCheckBox, ssUnicode, ssDateTime, ssTime, ssAlphaNumeric, ssAlphaNumericNoCase };
#pragma option pop
#pragma option push -b-
enum TPrintPosition { ppNone, ppTopLeft, ppTopRight, ppTopCenter, ppBottomLeft, ppBottomRight, ppBottomCenter };
#pragma option pop
#pragma option push -b-
enum TPrintBorders { pbNoborder, pbSingle, pbDouble, pbVertical, pbHorizontal, pbAround, pbAroundVertical, pbAroundHorizontal, pbCustom };
#pragma option pop
#pragma option push -b-
enum TCellBorder { cbTop, cbLeft, cbRight, cbBottom };
#pragma option pop
typedef Set<TCellBorder, cbTop, cbBottom> TCellBorders;
#pragma option push -b-
enum TPrintMethod { prPreview, prPrint, prCalcPrint, prCalcPreview };
#pragma option pop
#pragma option push -b-
enum TSortDirection { sdAscending, sdDescending };
#pragma option pop
#pragma option push -b-
enum TAdvanceDirection { adLeftRight, adTopBottom };
#pragma option pop
#pragma option push -b-
enum TIntelliPan { ipVertical, ipHorizontal, ipBoth, ipNone };
#pragma option pop
#pragma option push -b-
enum TInsertPosition { pInsertBefore, pInsertAfter };
#pragma option pop
#pragma option push -b-
enum TScrollType { ssNormal, ssFlat, ssEncarta };
#pragma option pop
#pragma option push -b-
enum TXPColorScheme { xpNone, xpBlue, xpGreen, xpGray };
#pragma option pop
#pragma option push -b-
enum TGridLook { glStandard, glSoft, glClassic, glTMS, glXP, glListView };
#pragma option pop
typedef void __fastcall (__closure *TCanInsertRowEvent)(System::TObject* Sender, int ARow, bool &CanInsert);
typedef void __fastcall (__closure *TAutoInsertRowEvent)(System::TObject* Sender, int ARow);
typedef void __fastcall (__closure *TCanAddRowEvent)(System::TObject* Sender, bool &CanAdd);
typedef void __fastcall (__closure *TAutoAddRowEvent)(System::TObject* Sender, int ARow);
typedef void __fastcall (__closure *TCanDeleteRowEvent)(System::TObject* Sender, int ARow, bool &CanDelete);
typedef void __fastcall (__closure *TAutoDeleteRowEvent)(System::TObject* Sender, int ARow);
typedef void __fastcall (__closure *TAutoInsertColEvent)(System::TObject* Sender, int ACol);
typedef void __fastcall (__closure *TGridProgressEvent)(System::TObject* Sender, short progress);
typedef void __fastcall (__closure *TClipboardEvent)(System::TObject* Sender, bool &Allow);
typedef void __fastcall (__closure *TClickSortEvent)(System::TObject* Sender, int ACol);
typedef void __fastcall (__closure *TCanSortEvent)(System::TObject* Sender, int ACol, bool &DoSort);
typedef void __fastcall (__closure *TNodeClickEvent)(System::TObject* Sender, int ARow, int ARowreal);
typedef void __fastcall (__closure *TNodeAllowEvent)(System::TObject* Sender, int ARow, int ARowReal, bool &Allow);
typedef void __fastcall (__closure *TSelectionResizeEvent)(System::TObject* Sender, const Grids::TGridRect &OrigSelection, const Grids::TGridRect &NewSelection);
typedef void __fastcall (__closure *TCustomCompareEvent)(System::TObject* Sender, AnsiString str1, AnsiString str2, int &Res);
typedef void __fastcall (__closure *TRawCompareEvent)(System::TObject* Sender, int ACol, int Row1, int Row2, int &Res);
typedef void __fastcall (__closure *TGridFormatEvent)(System::TObject* Sender, int ACol, TSortStyle &AStyle, AnsiString &aPrefix, AnsiString &aSuffix);
typedef void __fastcall (__closure *TGridColorEvent)(System::TObject* Sender, int ARow, int ACol, Grids::TGridDrawState AState, Graphics::TBrush* ABrush, Graphics::TFont* AFont);
typedef void __fastcall (__closure *TGridBorderEvent)(System::TObject* Sender, int ARow, int ACol, Graphics::TPen* APen, TCellBorders &Borders);
typedef void __fastcall (__closure *TGridBorderPropEvent)(System::TObject* Sender, int ARow, int ACol, Graphics::TPen* LeftPen, Graphics::TPen* TopPen, Graphics::TPen* RightPen, Graphics::TPen* BottomPen);
typedef void __fastcall (__closure *TGridAlignEvent)(System::TObject* Sender, int ARow, int ACol, Classes::TAlignment &HAlign, Basegrid::TVAlignment &VAlign);
typedef void __fastcall (__closure *TGridHintEvent)(System::TObject* Sender, int ARow, int ACol, AnsiString &hintstr);
typedef void __fastcall (__closure *TOfficeHintEvent)(System::TObject* Sender, int ACol, int ARow, Advhintinfo::TAdvHintInfo* OfficeHint);
typedef void __fastcall (__closure *TOleDragDropEvent)(System::TObject* Sender, int ARow, int ACol, AnsiString data, bool &Allow);
typedef void __fastcall (__closure *TOleDropFileEvent)(System::TObject* Sender, int ARow, int ACol, AnsiString FileName, bool &Allow);
typedef void __fastcall (__closure *TOleDragOverEvent)(System::TObject* Sender, int ARow, int ACol, bool &Allow);
typedef void __fastcall (__closure *TOleDragStartEvent)(System::TObject* Sender, int ARow, int ACol);
typedef void __fastcall (__closure *TOleDragStopEvent)(System::TObject* Sender, int OLEEffect);
typedef void __fastcall (__closure *TOleDropColEvent)(System::TObject* Sender, int ARow, int ACol, int DropCol);
typedef void __fastcall (__closure *TOleDroppedEvent)(System::TObject* Sender, const Grids::TGridRect &ARect);
typedef void __fastcall (__closure *TRowChangingEvent)(System::TObject* Sender, int OldRow, int NewRow, bool &Allow);
typedef void __fastcall (__closure *TRowChangedEvent)(System::TObject* Sender, int OldRow, int NewRow);
typedef void __fastcall (__closure *TColChangingEvent)(System::TObject* Sender, int OldCol, int NewCol, bool &Allow);
typedef void __fastcall (__closure *TCellChangingEvent)(System::TObject* Sender, int OldRow, int OldCol, int NewRow, int NewCol, bool &Allow);
typedef void __fastcall (__closure *TAutoAdvanceEvent)(System::TObject* Sender, int OldRow, int OldCol, int &NewRow, int &NewCol, bool &Allow);
typedef void __fastcall (__closure *TScrollHintEvent)(System::TObject* Sender, int ARow, AnsiString &hintstr);
typedef void __fastcall (__closure *TGridPrintPageEvent)(System::TObject* Sender, Graphics::TCanvas* Canvas, int PageNr, int PageXSize, int PageYSize);
typedef void __fastcall (__closure *TGridPrintStartEvent)(System::TObject* Sender, int NrOfPages, int &FromPage, int &ToPage);
typedef void __fastcall (__closure *TGridPrintPageDoneEvent)(System::TObject* Sender, Graphics::TCanvas* Canvas, int LastRow, int LastRowOffset, int LastPage, int PageXSize, int PageYSize);
typedef void __fastcall (__closure *TGridPrintCancelEvent)(System::TObject* Sender, int PageNr, bool &Cancel);
typedef void __fastcall (__closure *TGridPrintNewPageEvent)(System::TObject* Sender, int ARow, bool &NewPage);
typedef void __fastcall (__closure *TGridPrintColumnWidthEvent)(System::TObject* Sender, int ACol, int &Width);
typedef void __fastcall (__closure *TGridPrintRowHeightEvent)(System::TObject* Sender, int ARow, int &Height);
typedef void __fastcall (__closure *TOnResizeEvent)(System::TObject* Sender);
typedef void __fastcall (__closure *TColumnSizeEvent)(System::TObject* Sender, int ACol, bool &Allow);
typedef void __fastcall (__closure *TRowSizeEvent)(System::TObject* Sender, int ARow, bool &Allow);
typedef void __fastcall (__closure *TEndColumnSizeEvent)(System::TObject* Sender, int ACol);
typedef void __fastcall (__closure *TUpdateColumnSizeEvent)(System::TObject* Sender, int ACol, int &AWidth);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -