Partager via


IOleInPlaceActiveObjectImpl Class

This class provides methods for assisting communication between an in-place control and its container.

Important

This class and its members cannot be used in applications that execute in the Windows Runtime.

template< class T> 
class IOleInPlaceActiveObjectImpl

Parameters

  • T
    Your class, derived from IOleInPlaceActiveObjectImpl.

Members

Public Methods

Name

Description

IOleInPlaceActiveObjectImpl::ContextSensitiveHelp

Enables context-sensitive help. The ATL implementation returns E_NOTIMPL.

IOleInPlaceActiveObjectImpl::EnableModeless

Enables modeless dialog boxes. The ATL implementation returns S_OK.

IOleInPlaceActiveObjectImpl::GetWindow

Gets a window handle.

IOleInPlaceActiveObjectImpl::OnDocWindowActivate

Notifies the control when the container's document window is activated or deactivated. The ATL implementation returns S_OK.

IOleInPlaceActiveObjectImpl::OnFrameWindowActivate

Notifies the control when the container's top-level frame window is activated or deactivated. The ATL implementation returns

IOleInPlaceActiveObjectImpl::ResizeBorder

Informs the control it needs to resize its borders. The ATL implementation returns S_OK.

IOleInPlaceActiveObjectImpl::TranslateAccelerator

Processes menu accelerator-key messages from the container. The ATL implementation returns E_NOTIMPL.

Remarks

The IOleInPlaceActiveObject interface assists communication between an in-place control and its container; for example, communicating the active state of the control and container, and informing the control it needs to resize itself. Class IOleInPlaceActiveObjectImpl provides a default implementation of IOleInPlaceActiveObject and supports IUnknown by sending information to the dump device in debug builds.

Related Articles   ATL Tutorial, Creating an ATL Project

Inheritance Hierarchy

IOleInPlaceActiveObject

IOleInPlaceActiveObjectImpl

Requirements

Header: atlctl.h

See Also

Reference

CComControl Class

ActiveX Controls Interfaces

Other Resources

ATL Class Overview