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.
HRESULT InPlaceActivate( LONG iVerb, const RECT* prcPosRect = NULL );
Header file: | Atlctl.h |
Platforms: | |
Versions: | 2.0 and later |
Complete documentation: | Visual C++ documentation |
CComControl Overview, CComControl Methods, IOleInPlaceObjectWindowlessImpl::InPlaceDeactivate