From cda27e26cebb49c35f3052084619f53998385bb8 Mon Sep 17 00:00:00 2001 From: Andreas Bille Date: Wed, 26 Mar 2003 12:51:23 +0000 Subject: #i2822# Close --- embedserv/source/embed/ed_ioleobject.cxx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'embedserv/source/embed/ed_ioleobject.cxx') diff --git a/embedserv/source/embed/ed_ioleobject.cxx b/embedserv/source/embed/ed_ioleobject.cxx index 90e485091..e79aeac02 100755 --- a/embedserv/source/embed/ed_ioleobject.cxx +++ b/embedserv/source/embed/ed_ioleobject.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ed_ioleobject.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: abi $ $Date: 2003-03-26 11:13:34 $ + * last change: $Author: abi $ $Date: 2003-03-26 13:51:22 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -102,6 +102,8 @@ STDMETHODIMP EmbedDocument_Impl::Close( DWORD dwSaveOption ) if ( m_pDAdviseHolder ) m_pDAdviseHolder->SendOnDataChange( (IDataObject*)this, 0, ADVF_DATAONSTOP ); + m_pDocHolder->CloseFrame(); + if ( m_pClientSite ) m_pClientSite->OnShowWindow( FALSE ); @@ -155,10 +157,10 @@ STDMETHODIMP EmbedDocument_Impl::DoVerb( LONG iVerb, LPMSG lpmsg, IOleClientSite { if( m_pDocHolder ) m_pDocHolder->show(); - + if ( m_pClientSite ) m_pClientSite->OnShowWindow( TRUE ); - + notify(); return S_OK; -- cgit v1.2.3