newntui/discovermdi/src/discovermdiview.cpp
// The following command handler provides the standard keyboard
//  user interface to cancel an in-place editing session.  Here,
//  the container (not the server) causes the deactivation.
The following command handler provides the standard keyboard
user interface to cancel an in-place editing session.  Here,
the container (not the server) causes the deactivation.
The following command handler provides the standard keyboard user interface to cancel an in - place editing session . Here the container ( not the server ) causes the deactivation .
void CDiscoverMDIView::OnCancelEditCntr()
{
	COleClientItem* pActiveItem = GetDocument()->GetInPlaceActiveItem(this);
	if (pActiveItem != NULL)
	{
		pActiveItem->Close();
	}
	ASSERT(GetDocument()->GetInPlaceActiveItem(this) == NULL);
}
void CDiscoverMDIView :: OnCancelEditCntr ( ) { COleClientItem * pActiveItem = GetDocument ( ) -> GetInPlaceActiveItem ( this ) ; if ( pActiveItem != NULL ) { pActiveItem -> Close ( ) ; } ASSERT ( GetDocument ( ) -> GetInPlaceActiveItem ( this ) == NULL ) ; }
The following command handler provides the standard keyboard
user interface to cancel an in-place editing session.
The following command handler provides the standard keyboard user interface to cancel an in - place editing session .
// Close any in-place active item on this view.