Class IRichEditOleCallback (unit RichOLE)

Inherits from

IUnknown

* IRichEditOleCallback * * Purpose: * Interface used by the RichEdit to get OLE-related stuff from the * application using RichEdit.

Constructors



Functions

function ContextSensitiveHelp(fEnterMode: BOOL): HRESULT;


function DeleteObject(oleobj: IOLEObject): HRESULT;


function GetClipboardData(const chrg: TCharRange; reco: DWORD; out dataobj: IDataObject): HRESULT;


function GetContextMenu(seltype: Word; oleobj: IOleObject; const chrg: TCharRange; var menu: HMENU): HRESULT;


function GetDragDropEffect(fDrag: BOOL; grfKeyState: DWORD; var dwEffect: DWORD): HRESULT;


function GetInPlaceContext(out Frame: IOleInPlaceFrame; out Doc: IOleInPlaceUIWindow; var FrameInfo: TOleInPlaceFrameInfo): HRESULT;


function GetNewStorage(out stg: IStorage): HRESULT;


function QueryAcceptData(dataobj: IDataObject; var cfFormat: TClipFormat; reco: DWORD; fReally: BOOL; hMetaPict: HGLOBAL): HRESULT;


function QueryInsertObject(const clsid: TCLSID; stg: IStorage; cp: longint): HRESULT;


function ShowContainerUI(fShow: BOOL): HRESULT;


Properties

Events

Variables


Constructors


Functions


function ContextSensitiveHelp(fEnterMode: BOOL): HRESULT;


function DeleteObject(oleobj: IOLEObject): HRESULT;


function GetClipboardData(const chrg: TCharRange; reco: DWORD; out dataobj: IDataObject): HRESULT;


function GetContextMenu(seltype: Word; oleobj: IOleObject; const chrg: TCharRange; var menu: HMENU): HRESULT;


function GetDragDropEffect(fDrag: BOOL; grfKeyState: DWORD; var dwEffect: DWORD): HRESULT;


function GetInPlaceContext(out Frame: IOleInPlaceFrame; out Doc: IOleInPlaceUIWindow; var FrameInfo: TOleInPlaceFrameInfo): HRESULT;


function GetNewStorage(out stg: IStorage): HRESULT;


function QueryAcceptData(dataobj: IDataObject; var cfFormat: TClipFormat; reco: DWORD; fReally: BOOL; hMetaPict: HGLOBAL): HRESULT;


function QueryInsertObject(const clsid: TCLSID; stg: IStorage; cp: longint): HRESULT;


function ShowContainerUI(fShow: BOOL): HRESULT;


Properties


Events


Variables