共用方式為


IOleInPlaceObjectWindowlessImpl Class

This class implements IUnknown and provides methods that enable a windowless control to receive window messages and to participate in drag-and-drop operations.

Important

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

template< class T> 
class IOleInPlaceObjectWindowlessImpl

Parameters

  • T
    Your class, derived from IOleInPlaceObjectWindowlessImpl.

Members

Public Methods

Name

Description

IOleInPlaceObjectWindowlessImpl::ContextSensitiveHelp

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

IOleInPlaceObjectWindowlessImpl::GetDropTarget

Supplies the IDropTarget interface for an in-place active, windowless object that supports drag and drop. The ATL implementation returns E_NOTIMPL.

IOleInPlaceObjectWindowlessImpl::GetWindow

Gets a window handle.

IOleInPlaceObjectWindowlessImpl::InPlaceDeactivate

Deactivates an active in-place control.

IOleInPlaceObjectWindowlessImpl::OnWindowMessage

Dispatches a message from the container to a windowless control that is in-place active.

IOleInPlaceObjectWindowlessImpl::ReactivateAndUndo

Reactivates a previously deactivated control. The ATL implementation returns E_NOTIMPL.

IOleInPlaceObjectWindowlessImpl::SetObjectRects

Indicates what part of the in-place control is visible.

IOleInPlaceObjectWindowlessImpl::UIDeactivate

Deactivates and removes the user interface that supports in-place activation.

Remarks

The IOleInPlaceObject interface manages the reactivation and deactivation of in-place controls and determines how much of the control should be visible. The IOleInPlaceObjectWindowless interface enables a windowless control to receive window messages and to participate in drag-and-drop operations. Class IOleInPlaceObjectWindowlessImpl provides a default implementation of IOleInPlaceObject and IOleInPlaceObjectWindowless and implements IUnknown by sending information to the dump device in debug builds.

Related Articles   ATL Tutorial, Creating an ATL Project

Inheritance Hierarchy

IOleInPlaceObjectWindowless

IOleInPlaceObjectWindowlessImpl

Requirements

Header: atlctl.h

See Also

Reference

CComControl Class

Other Resources

ATL Class Overview