IOleInPlaceSiteWindowless::CanWindowlessActivate method (ocidl.h)

Informs an object if its container can support it as a windowless object that can be in-place activated.

Syntax

HRESULT CanWindowlessActivate();

Return value

This method returns S_OK if the object can activate in-place without a window.

Remarks

If this method returns S_OK, the container can dispatch events to it using IOleInPlaceObjectWindowless.

If this method returns S_FALSE, the object should create a window and behave as a normal compound document object.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header ocidl.h

See also

IOleInPlaceObjectWindowless

IOleInPlaceSiteWindowless