Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.8 KiB

  1. //*********************************************************************
  2. //* Microsoft Windows **
  3. //* Copyright(c) Microsoft Corp., 1999 **
  4. //*********************************************************************
  5. //
  6. // IOIPFRAM.H - Implements IOleInPlaceFrame for the WebOC
  7. //
  8. // HISTORY:
  9. //
  10. // 1/27/99 a-jaswed Created.
  11. #ifndef _IOIPF_H_
  12. #define _IOIPF_H_
  13. #include <objbase.h>
  14. #include <oleidl.h>
  15. class COleSite;
  16. interface COleInPlaceFrame : public IOleInPlaceFrame
  17. {
  18. public:
  19. COleInPlaceFrame (COleSite* pSite);
  20. ~COleInPlaceFrame ();
  21. STDMETHODIMP QueryInterface (REFIID riid, LPVOID* ppv);
  22. STDMETHODIMP_(ULONG) AddRef ();
  23. STDMETHODIMP_(ULONG) Release ();
  24. STDMETHODIMP GetWindow (HWND* lphwnd);
  25. STDMETHODIMP ContextSensitiveHelp (BOOL fEnterMode);
  26. // *** IOleInPlaceUIWindow methods ***
  27. STDMETHODIMP GetBorder (LPRECT lprectBorder);
  28. STDMETHODIMP RequestBorderSpace (LPCBORDERWIDTHS lpborderwidths);
  29. STDMETHODIMP SetBorderSpace (LPCBORDERWIDTHS lpborderwidths);
  30. STDMETHODIMP SetActiveObject (LPOLEINPLACEACTIVEOBJECT lpActiveObject, LPCOLESTR lpszObjName);
  31. // *** IOleInPlaceFrame methods ***
  32. STDMETHODIMP InsertMenus (HMENU hmenuShared, LPOLEMENUGROUPWIDTHS lpMenuWidths);
  33. STDMETHODIMP SetMenu (HMENU hmenuShared, HOLEMENU holemenu, HWND hwndActiveObject);
  34. STDMETHODIMP RemoveMenus (HMENU hmenuShared);
  35. STDMETHODIMP SetStatusText (LPCOLESTR lpszStatusText);
  36. STDMETHODIMP EnableModeless (BOOL fEnable);
  37. STDMETHODIMP TranslateAccelerator (LPMSG lpmsg, WORD wID);
  38. private:
  39. int m_nCount;
  40. COleSite* m_pOleSite;
  41. };
  42. #endif //#define _IOIPF_H_