IOleInPlaceSiteWindowless::CanWindowlessActivate method

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

Syntax


HRESULT CanWindowlessActivate();

Parameters

This method has no parameters.

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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

OCIdl.h

IDL

OCIdl.idl

IID

IID_IOleInPlaceSiteWindowless is defined as 922EADA0-3424-11CF-B670-00AA004CD6D8

See also

IOleInPlaceSiteWindowless
IOleInPlaceObjectWindowless

 

 

Show: