📄 vbide_tlb.pas
字号:
unit VBIDE_TLB;
// ************************************************************************ //
// WARNING //
// ------- //
// The types declared in this file were generated from data read from a //
// Type Library. If this type library is explicitly or indirectly (via //
// another type library referring to this type library) re-imported, or the //
// 'Refresh' command of the Type Library Editor activated while editing the //
// Type Library, the contents of this file will be regenerated and all //
// manual modifications will be lost. //
// ************************************************************************ //
// PASTLWTR : $Revision: 1.11.1.62 $
// File generated on 99-10-27 10:23:59 from Type Library described below.
// ************************************************************************ //
// Type Lib: C:\PROGRAM FILES\COMMON FILES\MICROSOFT SHARED\VBA\VBEEXT1.OLB
// IID\LCID: {0002E157-0000-0000-C000-000000000046}\0
// Helpfile: C:\PROGRAM FILES\COMMON FILES\MICROSOFT SHARED\VBA\VEENOB3.HLP
// HelpString: Microsoft Visual Basic for Applications Extensibility
// Version: 5.0
// ************************************************************************ //
interface
uses Windows, ActiveX, Classes, Graphics, OleCtrls, StdVCL,
Office_TLB;
// *********************************************************************//
// GUIDS declared in the TypeLibrary. Following prefixes are used: //
// Type Libraries : LIBID_xxxx //
// CoClasses : CLASS_xxxx //
// DISPInterfaces : DIID_xxxx //
// Non-DISP interfaces: IID_xxxx //
// *********************************************************************//
const
LIBID_VBIDE: TGUID = '{0002E157-0000-0000-C000-000000000046}';
IID_Application_: TGUID = '{0002E158-0000-0000-C000-000000000046}';
IID_VBE: TGUID = '{0002E166-0000-0000-C000-000000000046}';
IID_Window_: TGUID = '{0002E16B-0000-0000-C000-000000000046}';
IID__Windows_: TGUID = '{0002E16A-0000-0000-C000-000000000046}';
CLASS_Windows: TGUID = '{0002E185-0000-0000-C000-000000000046}';
IID__LinkedWindows: TGUID = '{0002E16C-0000-0000-C000-000000000046}';
CLASS_LinkedWindows: TGUID = '{0002E187-0000-0000-C000-000000000046}';
IID_Events: TGUID = '{0002E167-0000-0000-C000-000000000046}';
IID__VBProjectsEvents: TGUID = '{0002E113-0000-0000-C000-000000000046}';
DIID__dispVBProjectsEvents: TGUID = '{0002E103-0000-0000-C000-000000000046}';
IID__VBComponentsEvents: TGUID = '{0002E115-0000-0000-C000-000000000046}';
DIID__dispVBComponentsEvents: TGUID = '{0002E116-0000-0000-C000-000000000046}';
IID__ReferencesEvents: TGUID = '{0002E11A-0000-0000-C000-000000000046}';
DIID__dispReferencesEvents: TGUID = '{0002E118-0000-0000-C000-000000000046}';
CLASS_ReferencesEvents: TGUID = '{0002E119-0000-0000-C000-000000000046}';
IID__CommandBarControlEvents: TGUID = '{0002E130-0000-0000-C000-000000000046}';
DIID__dispCommandBarControlEvents: TGUID = '{0002E131-0000-0000-C000-000000000046}';
CLASS_CommandBarEvents: TGUID = '{0002E132-0000-0000-C000-000000000046}';
IID__ProjectTemplate: TGUID = '{0002E159-0000-0000-C000-000000000046}';
CLASS_ProjectTemplate: TGUID = '{32CDF9E0-1602-11CE-BFDC-08002B2B8CDA}';
IID__VBProject: TGUID = '{0002E160-0000-0000-C000-000000000046}';
CLASS_VBProject: TGUID = '{0002E169-0000-0000-C000-000000000046}';
IID__VBProjects: TGUID = '{0002E165-0000-0000-C000-000000000046}';
CLASS_VBProjects: TGUID = '{0002E101-0000-0000-C000-000000000046}';
IID_SelectedComponents: TGUID = '{BE39F3D4-1B13-11D0-887F-00A0C90F2744}';
IID__Components: TGUID = '{0002E161-0000-0000-C000-000000000046}';
CLASS_Components: TGUID = '{BE39F3D6-1B13-11D0-887F-00A0C90F2744}';
IID__VBComponents: TGUID = '{0002E162-0000-0000-C000-000000000046}';
CLASS_VBComponents: TGUID = '{BE39F3D7-1B13-11D0-887F-00A0C90F2744}';
IID__Component: TGUID = '{0002E163-0000-0000-C000-000000000046}';
CLASS_Component: TGUID = '{BE39F3D8-1B13-11D0-887F-00A0C90F2744}';
IID__VBComponent: TGUID = '{0002E164-0000-0000-C000-000000000046}';
CLASS_VBComponent: TGUID = '{BE39F3DA-1B13-11D0-887F-00A0C90F2744}';
IID_Property_: TGUID = '{0002E18C-0000-0000-C000-000000000046}';
IID__Properties: TGUID = '{0002E188-0000-0000-C000-000000000046}';
CLASS_Properties: TGUID = '{0002E18B-0000-0000-C000-000000000046}';
IID__CodeModule: TGUID = '{0002E16E-0000-0000-C000-000000000046}';
CLASS_CodeModule: TGUID = '{0002E170-0000-0000-C000-000000000046}';
IID__CodePanes: TGUID = '{0002E172-0000-0000-C000-000000000046}';
CLASS_CodePanes: TGUID = '{0002E174-0000-0000-C000-000000000046}';
IID__CodePane: TGUID = '{0002E176-0000-0000-C000-000000000046}';
CLASS_CodePane: TGUID = '{0002E178-0000-0000-C000-000000000046}';
IID__References: TGUID = '{0002E17A-0000-0000-C000-000000000046}';
IID_Reference: TGUID = '{0002E17E-0000-0000-C000-000000000046}';
DIID__dispReferences_Events: TGUID = '{CDDE3804-2064-11CF-867F-00AA005FF34A}';
CLASS_References: TGUID = '{0002E17C-0000-0000-C000-000000000046}';
// *********************************************************************//
// Declaration of Enumerations defined in Type Library //
// *********************************************************************//
// vbextFileTypes constants
type
vbextFileTypes = TOleEnum;
const
vbextFileTypeForm = $00000000;
vbextFileTypeModule = $00000001;
vbextFileTypeClass = $00000002;
vbextFileTypeProject = $00000003;
vbextFileTypeExe = $00000004;
vbextFileTypeFrx = $00000005;
vbextFileTypeRes = $00000006;
vbextFileTypeUserControl = $00000007;
vbextFileTypePropertyPage = $00000008;
vbextFileTypeDocObject = $00000009;
vbextFileTypeBinary = $0000000A;
vbextFileTypeGroupProject = $0000000B;
vbextFileTypeDesigners = $0000000C;
// vbext_WindowType constants
type
vbext_WindowType = TOleEnum;
const
vbext_wt_CodeWindow = $00000000;
vbext_wt_Designer = $00000001;
vbext_wt_Browser = $00000002;
vbext_wt_Watch = $00000003;
vbext_wt_Locals = $00000004;
vbext_wt_Immediate = $00000005;
vbext_wt_ProjectWindow = $00000006;
vbext_wt_PropertyWindow = $00000007;
vbext_wt_Find = $00000008;
vbext_wt_FindReplace = $00000009;
vbext_wt_LinkedWindowFrame = $0000000B;
vbext_wt_MainWindow = $0000000C;
vbext_wt_ToolWindow = $0000000F;
// vbext_WindowState constants
type
vbext_WindowState = TOleEnum;
const
vbext_ws_Normal = $00000000;
vbext_ws_Minimize = $00000001;
vbext_ws_Maximize = $00000002;
// vbext_ProjectProtection constants
type
vbext_ProjectProtection = TOleEnum;
const
vbext_pp_none = $00000000;
vbext_pp_locked = $00000001;
// vbext_VBAMode constants
type
vbext_VBAMode = TOleEnum;
const
vbext_vm_Run = $00000000;
vbext_vm_Break = $00000001;
vbext_vm_Design = $00000002;
// vbext_ComponentType constants
type
vbext_ComponentType = TOleEnum;
const
vbext_ct_StdModule = $00000001;
vbext_ct_ClassModule = $00000002;
vbext_ct_MSForm = $00000003;
vbext_ct_Document = $00000064;
// vbext_ProcKind constants
type
vbext_ProcKind = TOleEnum;
const
vbext_pk_Proc = $00000000;
vbext_pk_Let = $00000001;
vbext_pk_Set = $00000002;
vbext_pk_Get = $00000003;
// vbext_CodePaneview constants
type
vbext_CodePaneview = TOleEnum;
const
vbext_cv_ProcedureView = $00000000;
vbext_cv_FullModuleView = $00000001;
// vbext_RefKind constants
type
vbext_RefKind = TOleEnum;
const
vbext_rk_TypeLib = $00000000;
vbext_rk_Project = $00000001;
type
// *********************************************************************//
// Forward declaration of interfaces defined in Type Library //
// *********************************************************************//
Application_ = interface;
Application_Disp = dispinterface;
VBE = interface;
VBEDisp = dispinterface;
Window_ = interface;
Window_Disp = dispinterface;
_Windows_ = interface;
_Windows_Disp = dispinterface;
_LinkedWindows = interface;
_LinkedWindowsDisp = dispinterface;
Events = interface;
EventsDisp = dispinterface;
_VBProjectsEvents = interface;
_dispVBProjectsEvents = dispinterface;
_VBComponentsEvents = interface;
_dispVBComponentsEvents = dispinterface;
_ReferencesEvents = interface;
_dispReferencesEvents = dispinterface;
_CommandBarControlEvents = interface;
_dispCommandBarControlEvents = dispinterface;
_ProjectTemplate = interface;
_ProjectTemplateDisp = dispinterface;
_VBProject = interface;
_VBProjectDisp = dispinterface;
_VBProjects = interface;
_VBProjectsDisp = dispinterface;
SelectedComponents = interface;
SelectedComponentsDisp = dispinterface;
_Components = interface;
_ComponentsDisp = dispinterface;
_VBComponents = interface;
_VBComponentsDisp = dispinterface;
_Component = interface;
_ComponentDisp = dispinterface;
_VBComponent = interface;
_VBComponentDisp = dispinterface;
Property_ = interface;
Property_Disp = dispinterface;
_Properties = interface;
_PropertiesDisp = dispinterface;
_CodeModule = interface;
_CodeModuleDisp = dispinterface;
_CodePanes = interface;
_CodePanesDisp = dispinterface;
_CodePane = interface;
_CodePaneDisp = dispinterface;
_References = interface;
_ReferencesDisp = dispinterface;
Reference = interface;
ReferenceDisp = dispinterface;
_dispReferences_Events = dispinterface;
// *********************************************************************//
// Declaration of CoClasses defined in Type Library //
// (NOTE: Here we map each CoClass to its Default Interface) //
// *********************************************************************//
Windows = _Windows_;
LinkedWindows = _LinkedWindows;
ReferencesEvents = _ReferencesEvents;
CommandBarEvents = _CommandBarControlEvents;
ProjectTemplate = _ProjectTemplate;
VBProject = _VBProject;
VBProjects = _VBProjects;
Components = _Components;
VBComponents = _VBComponents;
Component = _Component;
VBComponent = _VBComponent;
Properties = _Properties;
CodeModule = _CodeModule;
CodePanes = _CodePanes;
CodePane = _CodePane;
References = _References;
// *********************************************************************//
// Declaration of structures, unions and aliases. //
// *********************************************************************//
PWordBool1 = ^WordBool; {*}
// *********************************************************************//
// Interface: Application_
// Flags: (4432) Hidden Dual OleAutomation Dispatchable
// GUID: {0002E158-0000-0000-C000-000000000046}
// *********************************************************************//
Application_ = interface(IDispatch)
['{0002E158-0000-0000-C000-000000000046}']
function Get_Version: WideString; safecall;
property Version: WideString read Get_Version;
end;
// *********************************************************************//
// DispIntf: Application_Disp
// Flags: (4432) Hidden Dual OleAutomation Dispatchable
// GUID: {0002E158-0000-0000-C000-000000000046}
// *********************************************************************//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -