HRESULT DoVerbInPlaceActivate( LPCRECT prcPosRect, HWND hwndParent );
Return Value
One of the standard HRESULT values.
Parameters
prcPosRec
[in] Pointer to the rectangle the container wants the control to draw into.
hwndParent
[in] Handle of the window containing the control. Not used in the ATL implementation.
Remarks
Activates the control in place by calling CComControl::InPlaceActivate. Unless the control class's data member m_bWindowOnly is TRUE, DoVerbInPlaceActivate first attempts to activate the control as a windowless control (possible only if the container supports IOleInPlaceSiteWindowless). If that fails, the function attempts to activate the control with extended features (possible only if the container supports IOleInPlaceSiteEx). If that fails, the function attempts to activate the control with no extended features (possible only if the container supports IOleInPlaceSite). If activation succeeds, the function notifies the container the control has been activated.
IOleObjectImpl Overview | Class Members
See Also CComControl::InPlaceActivate, CComControl::m_bWindowOnly