📄 interfaces.pas
字号:
unit Interfaces;
{ Declaration of specialized interfaces for use by both the components
and the COM objects in the COM library.
jfl
}
interface
uses
ComObj, ActiveX, Windows, DropComponent;
const
Class_DropTarget: TGUID = '{AC3EF5E0-0B33-11D1-AEEC-0080C7440B7E}';
Class_ContextMenu: TGUID = '{0B67EC82-0B7E-11D1-AEEC-0080C7440B7E}';
MK_ALT = $20; // not defined in Delphi
type
// Private initialization interface for TDropTarget
IInitDropTarget = interface( IUnknown )
['{DB232EA2-E1C4-11D0-80B1-000021617139}']
function AllowMultipleFiles( Value: Boolean ): HResult; stdcall;
function Enabled( Value: Boolean ): HResult; stdcall;
function SetDropTargetInstance(
const DropTarget: TCustomDropComponent ): HResult; stdcall;
end;
implementation
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -