IVsWindowFrame.GetFramePos(VSSETFRAMEPOS[], Guid, Int32, Int32, Int32, Int32) Método

Definição

Retorna a posição da janela.

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

Parâmetros

pdwSFP
VSSETFRAMEPOS[]

fora Ponteiro para a posição do quadro a ser definido. Os valores são obtidos da VSSETFRAMEPOS enumeração.

pguidRelativeTo
Guid

fora Não usado (definido como null ).

px
Int32

fora Ponteiro para o ordenada x absoluto.

py
Int32

fora Ponteiro para a ordenada y absoluta.

pcx
Int32

fora Ponteiro para a ordenada x em relação a px .

pcy
Int32

fora Ponteiro para a ordenada y em relação a py .

Retornos

Int32

Se o método for bem-sucedido, retornará S_OK. Se falhar, retornará um código de erro.

Comentários

Assinatura COM

De VSShell. idl:

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

Aplica-se a