IVsWindowFrame.GetFramePos(VSSETFRAMEPOS[], Guid, Int32, Int32, Int32, Int32) Methode

Definition

Gibt die Position des Fensters zurück.

public:
 int GetFramePos(cli::array <Microsoft::VisualStudio::Shell::Interop::VSSETFRAMEPOS> ^ pdwSFP, [Runtime::InteropServices::Out] Guid % pguidRelativeTo, [Runtime::InteropServices::Out] int % px, [Runtime::InteropServices::Out] int % py, [Runtime::InteropServices::Out] int % pcx, [Runtime::InteropServices::Out] int % pcy);
public int GetFramePos (Microsoft.VisualStudio.Shell.Interop.VSSETFRAMEPOS[] pdwSFP, out Guid pguidRelativeTo, out int px, out int py, out int pcx, out int pcy);
abstract member GetFramePos : Microsoft.VisualStudio.Shell.Interop.VSSETFRAMEPOS[] * Guid * int * int * int * int -> int
Public Function GetFramePos (pdwSFP As VSSETFRAMEPOS(), ByRef pguidRelativeTo As Guid, ByRef px As Integer, ByRef py As Integer, ByRef pcx As Integer, ByRef pcy As Integer) As Integer

Parameter

pdwSFP
VSSETFRAMEPOS[]

[out] Zeiger auf die festzulegende Rahmenposition. Die Werte werden der VSSETFRAMEPOS-Enumeration entnommen.

pguidRelativeTo
Guid

[out] Wird nicht verwendet (auf null festgelegt).

px
Int32

[out] Zeiger auf die absolute x-Ordinate.

py
Int32

[out] Zeiger auf die absolute y-Ordinate.

pcx
Int32

vorgenommen Zeiger auf das x-ordinat relativ zu px .

pcy
Int32

vorgenommen Zeiger auf das y-ordinat im Verhältnis zu py .

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 vsshell. idl:

HRESULT IVsWindowFrame::GetFramePos(  
   [out] VSSETFRAMEPOS *pdwSFP,  
   [out] GUID *pguidRelativeTo,  
   [out] int *px,  
   [out] int *py,  
   [out] int *pcx,  
   [out] int *pcy  
);  

Gilt für