IVsWindowFrameNotify3.OnMove(Int32, Int32, Int32, Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Indique à VSPackage qu'une fenêtre est en cours de déplacement.
public:
int OnMove(int x, int y, int w, int h);
public:
int OnMove(int x, int y, int w, int h);
int OnMove(int x, int y, int w, int h);
public int OnMove (int x, int y, int w, int h);
abstract member OnMove : int * int * int * int -> int
Public Function OnMove (x As Integer, y As Integer, w As Integer, h As Integer) As Integer
Paramètres
- x
- Int32
[in] Nouvelle position horizontale.
- y
- Int32
[in] Nouvelle position verticale.
- w
- Int32
[in] Nouvelle largeur de la fenêtre.
- h
- Int32
[in] Nouvelle hauteur de la fenêtre.
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.
Remarques
Signature COM
À partir de vsshell80. idl :
HRESULT IVsWindowFrameNotify3::OnMove(
[in] int x,
[in] int y,
[in] int w,
[in] int h
);