| JCWindowsManagerGetWindowRect Method |
Namespace: MASES.JCOBridge.C2JBridgeAssembly: C2JBridge (in C2JBridge.dll) Version: 2.5.21.241219-a6a144ea07c497c3a9a1be842408e852afb458be
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