Partager via


IOleInPlaceSiteWindowless Interface

Enables a windowless object to process window messages, participate in drag-and-drop operations, and draw. Extends and inherits from IOleInPlaceSiteEx. For more information, see IOleInPlaceSiteWindowless.

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'Declaration
<GuidAttribute("922EADA0-3424-11CF-B670-00AA004CD6D8")> _
<InterfaceTypeAttribute()> _
Public Interface IOleInPlaceSiteWindowless _
    Inherits IOleInPlaceSiteEx
[GuidAttribute("922EADA0-3424-11CF-B670-00AA004CD6D8")]
[InterfaceTypeAttribute()]
public interface IOleInPlaceSiteWindowless : IOleInPlaceSiteEx
[GuidAttribute(L"922EADA0-3424-11CF-B670-00AA004CD6D8")]
[InterfaceTypeAttribute()]
public interface class IOleInPlaceSiteWindowless : IOleInPlaceSiteEx
[<GuidAttribute("922EADA0-3424-11CF-B670-00AA004CD6D8")>]
[<InterfaceTypeAttribute()>]
type IOleInPlaceSiteWindowless =  
    interface 
        interface IOleInPlaceSiteEx 
    end
public interface IOleInPlaceSiteWindowless extends IOleInPlaceSiteEx

The IOleInPlaceSiteWindowless type exposes the following members.

Methods

  Name Description
Public method AdjustRect Adjusts a specified rectangle if it is entirely or partially covered by overlapping, opaque objects.
Public method CanInPlaceActivate Determines if the container can activate the object in place.
Public method CanWindowlessActivate Informs an object if its container can support it as a windowless object that can be in-place activated.
Public method ContextSensitiveHelp Controls enabling of context-sensitive help.
Public method DeactivateAndUndo
Public method DiscardUndoState Deactivate the object and revert to undo state.
Public method GetCapture Called by an in-place active, windowless object to determine if it still has the mouse capture or not.
Public method GetDC Provides an object with a handle to a device context for a screen or compatible device from its container.
Public method GetFocus Called by an in-place active, windowless object to determine if it still has the keyboard focus or not.
Public method GetWindow Gets a window handle.
Public method GetWindowContext Enables an in-place object to retrieve window interfaces that form at the window object hierarchy, and the position in the parent window to locate the object's in-place activation window.
Public method InvalidateRect Enables an object to invalidate a specified rectangle of its in-place image on the screen.
Public method InvalidateRgn Enables an object to invalidate a specified region of its in-place image on the screen.
Public method OnDefWindowMessage Invokes the default processing for all messages passed to an object.
Public method OnInPlaceActivate
Public method OnInPlaceActivateEx Called by the embedded object to determine if it needs to redraw itself upon activation.
Public method OnInPlaceDeactivate Notifies the container that the object is no longer active in place.
Public method OnInPlaceDeactivateEx Notifies the container of whether the object needs to be redrawn upon deactivation.
Public method OnPosRectChange Object's extents have changed.
Public method OnUIActivate Notifies the container that the object is about to be activated in place, and that the main menu will be replaced by a composite menu.
Public method OnUIDeactivate Notifies the container to reinstall its user interface and take focus.
Public method ReleaseDC Releases the device context previously obtained by a call to IOleInPlaceSiteWindowless::GetDC.
Public method RequestUIActivate Notifies the container that the object is about to enter the UI-active state.
Public method Scroll Specifies the number of pixels by which the container is to scroll the object.
Public method ScrollRect Enables an object to scroll an area within its in-place active image on the screen.
Public method SetCapture Enables an in-place active, windowless object to capture all mouse messages.
Public method SetFocus Sets the keyboard focus for a UI-active, windowless object.

Top

See Also

Reference

Microsoft.VisualStudio.OLE.Interop Namespace