| JCWindowsManagerGetWindowRect Method |
Namespace: MASES.JCOBridge.C2JBridgeAssembly: C2JBridge (in C2JBridge.dll) Version: 2.5.10.240120-2a3d9d79d92bde9fdf6d46131ee31d20c12fe372
Syntax public static bool GetWindowRect(
IntPtr hwnd,
out int x,
out int y,
out int width,
out int height
)
Public Shared Function GetWindowRect (
hwnd As IntPtr,
<OutAttribute> ByRef x As Integer,
<OutAttribute> ByRef y As Integer,
<OutAttribute> ByRef width As Integer,
<OutAttribute> ByRef height As Integer
) As Boolean
Parameters
- hwnd IntPtr
- A handle to the window.
- x Int32
- The position of the left side of the window, in client coordinates.
- y Int32
- The position of the top of the window, in client coordinates.
- width Int32
- The width of the window, in pixels.
- height Int32
- The height of the window, in pixels.
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