# IOleInPlaceSiteWindowless::CanWindowlessActivate

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

HRESULT CanWindowlessActivate(void);

Return Values

S_OK
  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.

See Also

IOleInPlaceObjectWindowless