Condividi tramite


IOleInPlaceSiteWindowless Interface

Definition

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.

public interface class IOleInPlaceSiteWindowless : Microsoft::VisualStudio::OLE::Interop::IOleInPlaceSiteEx
public interface class IOleInPlaceSiteWindowless : Microsoft::VisualStudio::OLE::Interop::IOleInPlaceSiteEx
__interface IOleInPlaceSiteWindowless : Microsoft::VisualStudio::OLE::Interop::IOleInPlaceSiteEx
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("922EADA0-3424-11CF-B670-00AA004CD6D8")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IOleInPlaceSiteWindowless : Microsoft.VisualStudio.OLE.Interop.IOleInPlaceSiteEx
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("922EADA0-3424-11CF-B670-00AA004CD6D8")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IOleInPlaceSiteWindowless : Microsoft.VisualStudio.OLE.Interop.IOleInPlaceSiteEx
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("922EADA0-3424-11CF-B670-00AA004CD6D8")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IOleInPlaceSiteWindowless = interface
    interface IOleInPlaceSiteEx
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("922EADA0-3424-11CF-B670-00AA004CD6D8")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IOleInPlaceSiteWindowless = interface
    interface IOleInPlaceSiteEx
    interface IOleInPlaceSite
    interface IOleWindow
Public Interface IOleInPlaceSiteWindowless
Implements IOleInPlaceSiteEx
Attributes
Implements

Methods

AdjustRect(RECT[])

Adjusts a specified rectangle if it is entirely or partially covered by overlapping, opaque objects.

CanInPlaceActivate()

Determines if the container can activate the object in place.

CanWindowlessActivate()

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

ContextSensitiveHelp(Int32)

Controls enabling of context-sensitive help.

DeactivateAndUndo()
DiscardUndoState()

Deactivate the object and revert to undo state.

GetCapture()

Called by an in-place active, windowless object to determine if it still has the mouse capture or not.

GetDC(RECT[], UInt32, IntPtr)

Provides an object with a handle to a device context for a screen or compatible device from its container.

GetFocus()

Called by an in-place active, windowless object to determine if it still has the keyboard focus or not.

GetWindow(IntPtr)

Gets a window handle.

GetWindowContext(IOleInPlaceFrame, IOleInPlaceUIWindow, RECT[], RECT[], OLEINPLACEFRAMEINFO[])

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.

InvalidateRect(RECT[], Int32)

Enables an object to invalidate a specified rectangle of its in-place image on the screen.

InvalidateRgn(IntPtr, Int32)

Enables an object to invalidate a specified region of its in-place image on the screen.

OnDefWindowMessage(UInt32, IntPtr, IntPtr, Int32)

Invokes the default processing for all messages passed to an object.

OnInPlaceActivate()
OnInPlaceActivateEx(Int32, UInt32)

Called by the embedded object to determine if it needs to redraw itself upon activation.

OnInPlaceDeactivate()

Notifies the container that the object is no longer active in place.

OnInPlaceDeactivateEx(Int32)

Notifies the container of whether the object needs to be redrawn upon deactivation.

OnPosRectChange(RECT[])

Object's extents have changed.

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.

OnUIDeactivate(Int32)

Notifies the container to reinstall its user interface and take focus.

ReleaseDC(IntPtr)

Releases the device context previously obtained by a call to IOleInPlaceSiteWindowless::GetDC.

RequestUIActivate()

Notifies the container that the object is about to enter the UI-active state.

Scroll(SIZE)

Specifies the number of pixels by which the container is to scroll the object.

ScrollRect(Int32, Int32, RECT[], RECT[])

Enables an object to scroll an area within its in-place active image on the screen.

SetCapture(Int32)

Enables an in-place active, windowless object to capture all mouse messages.

SetFocus(Int32)

Sets the keyboard focus for a UI-active, windowless object.

Applies to