次の方法で共有


IVsWindowFrameNotify3.OnDockableChange Method

Definition

Notifies the VSPackage that a window's docked state is being altered.

public:
 int OnDockableChange(int fDockable, int x, int y, int w, int h);
public:
 int OnDockableChange(int fDockable, int x, int y, int w, int h);
int OnDockableChange(int fDockable, int x, int y, int w, int h);
public int OnDockableChange (int fDockable, int x, int y, int w, int h);
abstract member OnDockableChange : int * int * int * int * int -> int
Public Function OnDockableChange (fDockable As Integer, x As Integer, y As Integer, w As Integer, h As Integer) As Integer

Parameters

fDockable
Int32

[in] true if the window frame is being docked.

x
Int32

[in] Horizontal position of undocked window.

y
Int32

[in] Vertical position of undocked window.

w
Int32

[in] Width of undocked window.

h
Int32

[in] Height of undocked window.

Returns

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  
);  

Applies to