IVsWindowFrameNotify3.OnDockableChange Method
Notifies the VSPackage that a window's docked state is being altered.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function OnDockableChange ( _
fDockable As Integer, _
x As Integer, _
y As Integer, _
w As Integer, _
h As Integer _
) As Integer
int OnDockableChange(
int fDockable,
int x,
int y,
int w,
int h
)
int OnDockableChange(
[InAttribute] int fDockable,
[InAttribute] int x,
[InAttribute] int y,
[InAttribute] int w,
[InAttribute] int h
)
abstract OnDockableChange :
fDockable:int *
x:int *
y:int *
w:int *
h:int -> int
function OnDockableChange(
fDockable : int,
x : int,
y : int,
w : int,
h : int
) : int
Parameters
fDockable
Type: Int32[in] true if the window frame is being docked.
x
Type: Int32[in] Horizontal position of undocked window.
y
Type: Int32[in] Vertical position of undocked window.
w
Type: Int32[in] Width of undocked window.
h
Type: Int32[in] Height of undocked window.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsWindowFrameNotify3::OnDockableChange(
[in] BOOL fDockable,
[in] int x,
[in] int y,
[in] int w,
[in] int h
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.