2025-04-27 07:49:33 -04:00

55 lines
1.7 KiB
C++
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//**********************************************************************
// File name: HLP_IOPS.HXX
//
// Definition of COleInPlaceSite
//
// Copyright (c) 1992 - 1993 Microsoft Corporation. All rights reserved.
//**********************************************************************
#if !defined( _HLP_IOPS_HXX_ )
#define _HLP_IOPS_HXX_
class CSimpleSite;
interface COleInPlaceSite : public IOleInPlaceSite
{
CSimpleSite FAR * m_pSite;
COleInPlaceSite(CSimpleSite FAR *pSite)
{
OutputDebugString(TEXT("In IOIPS's constructor\r\n"));
m_pSite = pSite;
};
~COleInPlaceSite()
{
OutputDebugString(TEXT("In IOIPS;s destructor\r\n"));
};
STDMETHODIMP QueryInterface (REFIID riid, LPVOID FAR* ppv);
STDMETHODIMP_(ULONG) AddRef ();
STDMETHODIMP_(ULONG) Release ();
STDMETHODIMP GetWindow (HWND FAR* lphwnd);
STDMETHODIMP ContextSensitiveHelp (BOOL fEnterMode);
// *** IOleInPlaceSite methods ***
STDMETHODIMP CanInPlaceActivate ();
STDMETHODIMP OnInPlaceActivate ();
STDMETHODIMP OnUIActivate ();
STDMETHODIMP GetWindowContext (LPOLEINPLACEFRAME FAR* lplpFrame,
LPOLEINPLACEUIWINDOW FAR* lplpDoc,
LPRECT lprcPosRect,
LPRECT lprcClipRect,
LPOLEINPLACEFRAMEINFO lpFrameInfo);
STDMETHODIMP Scroll (SIZE scrollExtent);
STDMETHODIMP OnUIDeactivate (BOOL fUndoable);
STDMETHODIMP OnInPlaceDeactivate ();
STDMETHODIMP DiscardUndoState ();
STDMETHODIMP DeactivateAndUndo ();
STDMETHODIMP OnPosRectChange (LPCRECT lprcPosRect);
};
#endif