IVsWindowFrameNotify3.OnSize(Int32, Int32, Int32, Int32) Methode

Definition

Benachrichtigt das VSPackage, dass die Größe eines Fensters geändert wird.

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

Parameter

x
Int32

[in] Neue horizontale Position.

y
Int32

[in] Neue vertikale Position.

w
Int32

[in] Neue Fensterbreite.

h
Int32

[in] Neue Fensterhöhe.

Gibt zurück

Int32

Wenn die Methode erfolgreich ist, wird S_OK zurückgegeben. Bei einem Fehler wird ein Fehlercode zurückgegeben.

Hinweise

COM-Signatur

Aus vsshell80. idl:

HRESULT IVsWindowFrameNotify3::OnSize(  
   [in] int x,   
   [in] int y,   
   [in] int w,   
   [in] int h  
);  

Gilt für