Search
NativeMethods.GetWindowRect Method
See Also
 






Retrieves the dimensions of the bounding rectangle of the specified window.

Namespace: MindFusion.UI.WinForms
Assembly: MindFusion.Keyboard.WinForms

 Syntax

C#  Copy Code

public static bool GetWindowRect (
    IntPtr hwnd,
    out RECT lpRect
)

Visual Basic  Copy Code

Public Shared Function GetWindowRect( _
    hwnd As IntPtr, _
    <System.Runtime.InteropServices.Out()> ByRef lpRect As RECT _
) As Boolean

 Parameters

hwnd

Handle to the window.

lpRect

Pointer to a structure that receives the screen coordinates of the upper-left and lower-right corners of the window.

 Return Value

If the function succeeds, the return value is nonzero.

 See Also