CComControl::InPlaceActivate

This method causes the control to transition from the inactive state to whatever state the verb in iVerb indicates. This method also retrieves an IOleInPlaceSite, IOleInPlaceSiteEx, or IOleInPlaceSiteWindowless interface pointer for the control and stores it in the control class's data member m_spInPlaceSite.

Syntax

HRESULT InPlaceActivate( LONG iVerb, const RECT* prcPosRect = NULL );

At a Glance

Header file: Atlctl.h
Platforms:
Versions: 2.0 and later
Complete documentation: Visual C++ documentation

See Also

CComControl Overview, CComControl Methods, IOleInPlaceObjectWindowlessImpl::InPlaceDeactivate