CComControl::m_spInPlaceSite

CComPtr<IOleInPlaceSiteWindowless> m_spInPlaceSite;

Remarks

A pointer to the container's IOleInPlaceSite, IOleInPlaceSiteEx, or IOleInPlaceSiteWindowless interface pointer.

The m_spInPlaceSite pointer is valid only if the m_bNegotiatedWnd flag is TRUE.

The following table shows how the m_spInPlaceSite pointer type depends on the m_bWndless and m_bInPlaceSiteEx data member flags:

m_spInPlaceSite Type m_bWndless Value m_bInPlaceSiteEx Value
IoleInPlaceSiteWindowless TRUE TRUE or FALSE
IoleInPlaceSiteEx FALSE TRUE
IoleInPlaceSite FALSE FALSE

CComControl OverviewClass Members

See Also   CComPtr