| JCWindowsManagerSetWindowPos Method |
Namespace: MASES.JCOBridge.C2JBridgeAssembly: C2JBridge (in C2JBridge.dll) Version: 2.5.21.241219-a6a144ea07c497c3a9a1be842408e852afb458be
Syntax [DllImportAttribute("user32.dll", SetLastError = true)]
public static bool SetWindowPos(
IntPtr hWnd,
IntPtr hWndInsertAfter,
int X,
int Y,
int cx,
int cy,
JCWindowsManagerSetWindowPosFlags uFlags
)
<DllImportAttribute("user32.dll", SetLastError := true>]
Public Shared Function SetWindowPos (
hWnd As IntPtr,
hWndInsertAfter As IntPtr,
X As Integer,
Y As Integer,
cx As Integer,
cy As Integer,
uFlags As JCWindowsManagerSetWindowPosFlags
) As Boolean
Parameters
- hWnd IntPtr
- A handle to the window.
- hWndInsertAfter IntPtr
- A handle to the window to precede the positioned window in the Z order.
- X Int32
- The new position of the left side of the window, in client coordinates.
- Y Int32
- The new position of the top of the window, in client coordinates.
- cx Int32
- The new width of the window, in pixels.
- cy Int32
- The new height of the window, in pixels.
- uFlags JCWindowsManagerSetWindowPosFlags
- The window sizing and positioning flags. This parameter can be a combination of JCWindowsManagerSetWindowPosFlags values.
Return Value
BooleanIf the function succeeds, the return value is
. If the function fails, the return value is
. To get extended error information, call
GetLastError.
See Also