📄 vbide_tlb.pas
字号:
Application_Disp = dispinterface
['{0002E158-0000-0000-C000-000000000046}']
property Version: WideString readonly dispid 100;
end;
// *********************************************************************//
// Interface: VBE
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {0002E166-0000-0000-C000-000000000046}
// *********************************************************************//
VBE = interface(Application_)
['{0002E166-0000-0000-C000-000000000046}']
function Get_VBProjects: VBProjects; safecall;
function Get_CommandBars: CommandBars; safecall;
function Get_CodePanes: CodePanes; safecall;
function Get_Windows: Windows; safecall;
function Get_Events: Events; safecall;
function Get_ActiveVBProject: VBProject; safecall;
procedure Set_ActiveVBProject(const lppptReturn: VBProject); safecall;
function Get_SelectedVBComponent: VBComponent; safecall;
function Get_MainWindow: Window_; safecall;
function Get_ActiveWindow: Window_; safecall;
function Get_ActiveCodePane: CodePane; safecall;
procedure Set_ActiveCodePane(const ppCodePane: CodePane); safecall;
property VBProjects: VBProjects read Get_VBProjects;
property CommandBars: CommandBars read Get_CommandBars;
property CodePanes: CodePanes read Get_CodePanes;
property Windows: Windows read Get_Windows;
property Events: Events read Get_Events;
property ActiveVBProject: VBProject read Get_ActiveVBProject write Set_ActiveVBProject;
property SelectedVBComponent: VBComponent read Get_SelectedVBComponent;
property MainWindow: Window_ read Get_MainWindow;
property ActiveWindow: Window_ read Get_ActiveWindow;
property ActiveCodePane: CodePane read Get_ActiveCodePane write Set_ActiveCodePane;
end;
// *********************************************************************//
// DispIntf: VBEDisp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {0002E166-0000-0000-C000-000000000046}
// *********************************************************************//
VBEDisp = dispinterface
['{0002E166-0000-0000-C000-000000000046}']
property VBProjects: VBProjects readonly dispid 107;
property CommandBars: CommandBars readonly dispid 108;
property CodePanes: CodePanes readonly dispid 109;
property Windows: Windows readonly dispid 110;
property Events: Events readonly dispid 111;
property ActiveVBProject: VBProject dispid 201;
property SelectedVBComponent: VBComponent readonly dispid 202;
property MainWindow: Window_ readonly dispid 204;
property ActiveWindow: Window_ readonly dispid 205;
property ActiveCodePane: CodePane dispid 206;
property Version: WideString readonly dispid 100;
end;
// *********************************************************************//
// Interface: Window_
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {0002E16B-0000-0000-C000-000000000046}
// *********************************************************************//
Window_ = interface(IDispatch)
['{0002E16B-0000-0000-C000-000000000046}']
function Get_VBE: VBE; safecall;
function Get_Collection: Windows; safecall;
procedure Close; safecall;
function Get_Caption: WideString; safecall;
function Get_Visible: WordBool; safecall;
procedure Set_Visible(pfVisible: WordBool); safecall;
function Get_Left: Integer; safecall;
procedure Set_Left(plLeft: Integer); safecall;
function Get_Top: Integer; safecall;
procedure Set_Top(plTop: Integer); safecall;
function Get_Width: Integer; safecall;
procedure Set_Width(plWidth: Integer); safecall;
function Get_Height: Integer; safecall;
procedure Set_Height(plHeight: Integer); safecall;
function Get_WindowState: vbext_WindowState; safecall;
procedure Set_WindowState(plWindowState: vbext_WindowState); safecall;
procedure SetFocus; safecall;
function Get_Type_: vbext_WindowType; safecall;
procedure SetKind(eKind: vbext_WindowType); safecall;
function Get_LinkedWindows: LinkedWindows; safecall;
function Get_LinkedWindowFrame: Window_; safecall;
procedure Detach; safecall;
procedure Attach(lWindowHandle: Integer); safecall;
function Get_HWnd: Integer; safecall;
property VBE: VBE read Get_VBE;
property Collection: Windows read Get_Collection;
property Caption: WideString read Get_Caption;
property Visible: WordBool read Get_Visible write Set_Visible;
property Left: Integer read Get_Left write Set_Left;
property Top: Integer read Get_Top write Set_Top;
property Width: Integer read Get_Width write Set_Width;
property Height: Integer read Get_Height write Set_Height;
property WindowState: vbext_WindowState read Get_WindowState write Set_WindowState;
property Type_: vbext_WindowType read Get_Type_;
property LinkedWindows: LinkedWindows read Get_LinkedWindows;
property LinkedWindowFrame: Window_ read Get_LinkedWindowFrame;
property HWnd: Integer read Get_HWnd;
end;
// *********************************************************************//
// DispIntf: Window_Disp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {0002E16B-0000-0000-C000-000000000046}
// *********************************************************************//
Window_Disp = dispinterface
['{0002E16B-0000-0000-C000-000000000046}']
property VBE: VBE readonly dispid 1;
property Collection: Windows readonly dispid 2;
procedure Close; dispid 99;
property Caption: WideString readonly dispid 100;
property Visible: WordBool dispid 106;
property Left: Integer dispid 101;
property Top: Integer dispid 103;
property Width: Integer dispid 105;
property Height: Integer dispid 107;
property WindowState: vbext_WindowState dispid 109;
procedure SetFocus; dispid 111;
property Type_: vbext_WindowType readonly dispid 112;
procedure SetKind(eKind: vbext_WindowType); dispid 113;
property LinkedWindows: LinkedWindows readonly dispid 116;
property LinkedWindowFrame: Window_ readonly dispid 117;
procedure Detach; dispid 118;
procedure Attach(lWindowHandle: Integer); dispid 119;
property HWnd: Integer readonly dispid 120;
end;
// *********************************************************************//
// Interface: _Windows_
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {0002E16A-0000-0000-C000-000000000046}
// *********************************************************************//
_Windows_ = interface(IDispatch)
['{0002E16A-0000-0000-C000-000000000046}']
function Get_VBE: VBE; safecall;
function Get_Parent: Application_; safecall;
function Item(index: OleVariant): Window_; safecall;
function Get_Count: Integer; safecall;
function _NewEnum: IUnknown; safecall;
property VBE: VBE read Get_VBE;
property Parent: Application_ read Get_Parent;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: _Windows_Disp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {0002E16A-0000-0000-C000-000000000046}
// *********************************************************************//
_Windows_Disp = dispinterface
['{0002E16A-0000-0000-C000-000000000046}']
property VBE: VBE readonly dispid 1;
property Parent: Application_ readonly dispid 2;
function Item(index: OleVariant): Window_; dispid 0;
property Count: Integer readonly dispid 201;
function _NewEnum: IUnknown; dispid -4;
end;
// *********************************************************************//
// Interface: _LinkedWindows
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {0002E16C-0000-0000-C000-000000000046}
// *********************************************************************//
_LinkedWindows = interface(IDispatch)
['{0002E16C-0000-0000-C000-000000000046}']
function Get_VBE: VBE; safecall;
function Get_Parent: Window_; safecall;
function Item(index: OleVariant): Window_; safecall;
function Get_Count: Integer; safecall;
function _NewEnum: IUnknown; safecall;
procedure Remove(const Window_: Window_); safecall;
procedure Add(const Window_: Window_); safecall;
property VBE: VBE read Get_VBE;
property Parent: Window_ read Get_Parent;
property Count: Integer read Get_Count;
end;
// *********************************************************************//
// DispIntf: _LinkedWindowsDisp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {0002E16C-0000-0000-C000-000000000046}
// *********************************************************************//
_LinkedWindowsDisp = dispinterface
['{0002E16C-0000-0000-C000-000000000046}']
property VBE: VBE readonly dispid 1;
property Parent: Window_ readonly dispid 2;
function Item(index: OleVariant): Window_; dispid 0;
property Count: Integer readonly dispid 201;
function _NewEnum: IUnknown; dispid -4;
procedure Remove(const Window_: Window_); dispid 202;
procedure Add(const Window_: Window_); dispid 203;
end;
// *********************************************************************//
// Interface: Events
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {0002E167-0000-0000-C000-000000000046}
// *********************************************************************//
Events = interface(IDispatch)
['{0002E167-0000-0000-C000-000000000046}']
function Get_ReferencesEvents(const VBProject: VBProject): ReferencesEvents; safecall;
function Get_CommandBarEvents(const CommandBarControl: IDispatch): CommandBarEvents; safecall;
property ReferencesEvents[const VBProject: VBProject]: ReferencesEvents read Get_ReferencesEvents;
property CommandBarEvents[const CommandBarControl: IDispatch]: CommandBarEvents read Get_CommandBarEvents;
end;
// *********************************************************************//
// DispIntf: EventsDisp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {0002E167-0000-0000-C000-000000000046}
// *********************************************************************//
EventsDisp = dispinterface
['{0002E167-0000-0000-C000-000000000046}']
property ReferencesEvents[const VBProject: VBProject]: ReferencesEvents readonly dispid 202;
property CommandBarEvents[const CommandBarControl: IDispatch]: CommandBarEvents readonly dispid 205;
end;
// *********************************************************************//
// Interface: _VBProjectsEvents
// Flags: (256) OleAutomation
// GUID: {0002E113-0000-0000-C000-000000000046}
// *********************************************************************//
_VBProjectsEvents = interface(IUnknown)
['{0002E113-0000-0000-C000-000000000046}']
end;
// *********************************************************************//
// DispIntf: _dispVBProjectsEvents
// Flags: (4096) Dispatchable
// GUID: {0002E103-0000-0000-C000-000000000046}
// *********************************************************************//
_dispVBProjectsEvents = dispinterface
['{0002E103-0000-0000-C000-000000000046}']
procedure ItemAdded(const VBProject: VBProject); dispid 1;
procedure ItemRemoved(const VBProject: VBProject); dispid 2;
procedure ItemRenamed(const VBProject: VBProject; const OldName: WideString); dispid 3;
procedure ItemActivated(const VBProject: VBProject); dispid 4;
end;
// *********************************************************************//
// Interface: _VBComponentsEvents
// Flags: (256) OleAutomation
// GUID: {0002E115-0000-0000-C000-000000000046}
// *********************************************************************//
_VBComponentsEvents = interface(IUnknown)
['{0002E115-0000-0000-C000-000000000046}']
end;
// *********************************************************************//
// DispIntf: _dispVBComponentsEvents
// Flags: (4096) Dispatchable
// GUID: {0002E116-0000-0000-C000-000000000046}
// *********************************************************************//
_dispVBComponentsEvents = dispinterface
['{0002E116-0000-0000-C000-000000000046}']
procedure ItemAdded(const VBComponent: VBComponent); dispid 1;
procedure ItemRemoved(const VBComponent: VBComponent); dispid 2;
procedure ItemRenamed(const VBComponent: VBComponent; const OldName: WideString); dispid 3;
procedure ItemSelected(const VBComponent: VBComponent); dispid 4;
procedure ItemActivated(const VBComponent: VBComponent); dispid 5;
procedure ItemReloaded(const VBComponent: VBComponent); dispid 6;
end;
// *********************************************************************//
// Interface: _ReferencesEvents
// Flags: (256) OleAutomation
// GUID: {0002E11A-0000-0000-C000-000000000046}
// *********************************************************************//
_ReferencesEvents = interface(IUnknown)
['{0002E11A-0000-0000-C000-000000000046}']
end;
// *********************************************************************//
// DispIntf: _dispReferencesEvents
// Flags: (4096) Dispatchable
// GUID: {0002E118-0000-0000-C000-000000000046}
// *********************************************************************//
_dispReferencesEvents = dispinterface
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -