Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IOleInPlaceActiveObjectImpl Class

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

Important note Important

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

template< class T> 
class IOleInPlaceActiveObjectImpl
T

Your class, derived from IOleInPlaceActiveObjectImpl.

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.

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

IOleInPlaceActiveObject

IOleInPlaceActiveObjectImpl

Header: atlctl.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.