57 if(!
This->doc_obj->in_place_active) {
62 *phwnd =
This->doc_obj->hwnd;
87 if(
This->doc_obj->hostui)
88 IDocHostUIHandler_OnFrameWindowActivate(
This->doc_obj->hostui, fActivate);
104 FIXME(
"(%p)->(%p %p %x)\n",
This, prcBorder, pUIWindow, fFrameWindow);
160 return IOleInPlaceActiveObject_GetWindow(&
This->IOleInPlaceActiveObject_iface, phwnd);
167 return IOleInPlaceActiveObject_ContextSensitiveHelp(&
This->IOleInPlaceActiveObject_iface, fEnterMode);
176 if(
This->doc_obj->ui_active)
177 IOleDocumentView_UIActivate(&
This->IOleDocumentView_iface,
FALSE);
180 if(!
This->doc_obj->in_place_active)
183 if(
This->doc_obj->frame) {
184 IOleInPlaceFrame_Release(
This->doc_obj->frame);
188 if(
This->doc_obj->hwnd) {
197 if(
This->doc_obj->ipsite) {
201 hres = IOleInPlaceSite_QueryInterface(
This->doc_obj->ipsite, &IID_IOleInPlaceSiteEx, (
void**)&ipsiteex);
203 IOleInPlaceSiteEx_OnInPlaceDeactivateEx(ipsiteex,
TRUE);
204 IOleInPlaceSiteEx_Release(ipsiteex);
206 IOleInPlaceSite_OnInPlaceDeactivate(
This->doc_obj->ipsite);
224 FIXME(
"(%p)->(%p %p)\n",
This, lprcPosRect, lprcClipRect);
247 FIXME(
"(%p)->(%p)\n",
This, ppDropTarget);
static HRESULT htmldoc_query_interface(HTMLDocument *This, REFIID riid, void **ppv)
static ULONG htmldoc_addref(HTMLDocument *This)
void notif_focus(HTMLDocumentObj *) DECLSPEC_HIDDEN
static ULONG htmldoc_release(HTMLDocument *This)
static ULONG WINAPI OleInPlaceObjectWindowless_Release(IOleInPlaceObjectWindowless *iface)
static HRESULT WINAPI OleInPlaceObjectWindowless_GetDropTarget(IOleInPlaceObjectWindowless *iface, IDropTarget **ppDropTarget)
static HRESULT WINAPI OleInPlaceActiveObject_OnFrameWindowActivate(IOleInPlaceActiveObject *iface, BOOL fActivate)
static ULONG WINAPI OleInPlaceActiveObject_AddRef(IOleInPlaceActiveObject *iface)
static HRESULT WINAPI OleInPlaceObjectWindowless_ContextSensitiveHelp(IOleInPlaceObjectWindowless *iface, BOOL fEnterMode)
static HRESULT WINAPI OleInPlaceObjectWindowless_GetWindow(IOleInPlaceObjectWindowless *iface, HWND *phwnd)
static HRESULT WINAPI OleInPlaceObjectWindowless_OnWindowMessage(IOleInPlaceObjectWindowless *iface, UINT msg, WPARAM wParam, LPARAM lParam, LRESULT *lpResult)
static const IOleInPlaceActiveObjectVtbl OleInPlaceActiveObjectVtbl
static const IOleInPlaceObjectWindowlessVtbl OleInPlaceObjectWindowlessVtbl
static HTMLDocument * impl_from_IOleInPlaceActiveObject(IOleInPlaceActiveObject *iface)
static HRESULT WINAPI OleInPlaceObjectWindowless_UIDeactivate(IOleInPlaceObjectWindowless *iface)
static ULONG WINAPI OleInPlaceActiveObject_Release(IOleInPlaceActiveObject *iface)
static HRESULT WINAPI OleInPlaceObjectWindowless_SetObjectRects(IOleInPlaceObjectWindowless *iface, LPCRECT lprcPosRect, LPCRECT lprcClipRect)
static HRESULT WINAPI OleInPlaceActiveObject_EnableModeless(IOleInPlaceActiveObject *iface, BOOL fEnable)
static HRESULT WINAPI OleInPlaceActiveObject_OnDocWindowActivate(IOleInPlaceActiveObject *iface, BOOL fActivate)
static ULONG WINAPI OleInPlaceObjectWindowless_AddRef(IOleInPlaceObjectWindowless *iface)
static HRESULT WINAPI OleInPlaceObjectWindowless_QueryInterface(IOleInPlaceObjectWindowless *iface, REFIID riid, void **ppv)
static HRESULT WINAPI OleInPlaceActiveObject_TranslateAccelerator(IOleInPlaceActiveObject *iface, LPMSG lpmsg)
static HRESULT WINAPI OleInPlaceObjectWindowless_ReactivateAndUndo(IOleInPlaceObjectWindowless *iface)
static HRESULT WINAPI OleInPlaceActiveObject_ResizeBorder(IOleInPlaceActiveObject *iface, LPCRECT prcBorder, IOleInPlaceUIWindow *pUIWindow, BOOL fFrameWindow)
static HRESULT WINAPI OleInPlaceActiveObject_GetWindow(IOleInPlaceActiveObject *iface, HWND *phwnd)
static HTMLDocument * impl_from_IOleInPlaceObjectWindowless(IOleInPlaceObjectWindowless *iface)
static HRESULT WINAPI OleInPlaceObjectWindowless_InPlaceDeactivate(IOleInPlaceObjectWindowless *iface)
static HRESULT WINAPI OleInPlaceActiveObject_ContextSensitiveHelp(IOleInPlaceActiveObject *iface, BOOL fEnterMode)
void HTMLDocument_Window_Init(HTMLDocument *This)
static HRESULT WINAPI OleInPlaceActiveObject_QueryInterface(IOleInPlaceActiveObject *iface, REFIID riid, void **ppv)
#define CONTAINING_RECORD(address, type, field)
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
BOOL WINAPI SetWindowPos(_In_ HWND, _In_opt_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)