IVsWindowFrame::SetFramePos Method (VSSETFRAMEPOS, Guid, Int32, Int32, Int32, Int32)
Visual Studio 2015
Sets the position of the window.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int SetFramePos( VSSETFRAMEPOS dwSFP, [InAttribute] Guid% rguidRelativeTo, int x, int y, int cx, int cy )
Parameters
- dwSFP
-
Type:
Microsoft.VisualStudio.Shell.Interop::VSSETFRAMEPOS
[in] Frame position whose values are taken from the VSSETFRAMEPOS enumeration.
- rguidRelativeTo
-
Type:
System::Guid
[in] Not used (set to null).
- x
-
Type:
System::Int32
[in] Absolute x ordinate.
- y
-
Type:
System::Int32
[in] Absolute y ordinate.
- cx
-
Type:
System::Int32
[in] x ordinate relative to x.
- cy
-
Type:
System::Int32
[in] y ordinate relative to y.
Return Value
Type: System::Int32If the method succeeds, it returns. S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsWindowFrame::SetFramePos( [in] VSSETFRAMEPOS dwSFP, [in] REFGUID rguidRelativeTo, [in] int x, [in] int y, [in] int cx, [in] int cy );
Show: