IVsIME::SetCurPos Method (IntPtr, Int32, Int32, array<VSIME_ERR>^)
Visual Studio 2015
Sets the current position of the editing window using the Input Method Editor (IME). The method provides a wrapper to .ime_3ho7
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- hwnd
-
Type:
System::IntPtr
[in] Handle to the editing window.
- x
-
Type:
System::Int32
[in] Horizontal position, in pixels, of the upper left corner of the window.
- y
-
Type:
System::Int32
[in] Vertical position, in pixels, of the upper left corner of the window.
- perr
-
Type:
array<Microsoft.VisualStudio.Shell.Interop::VSIME_ERR>^
[out] A nonzero value indicates success. Any other value, an error.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsIME::SetCurPos( [in] HWND hwnd, [in] int x, [in] int y, [out] VSIME_ERR * perr );
Show: