GUITHREADINFO (Structures)
Last changed: -81.111.16.8

.

The GUITHREADINFO structure contains information about a graphical user interface (GUI) thread. For example you can get the caret (blinking cursor in textfields) position

C# Definition:

[Serializable, StructLayout(LayoutKind.Sequential)]

public struct GUITHREADINFO

{

    public uint        cbSize;
    public uint        flags;
    public IntPtr        hwndActive;
    public IntPtr        hwndFocus;
    public IntPtr        hwndCapture;
    public IntPtr        hwndMenuOwner;
    public IntPtr        hwndMoveSize;
    public IntPtr        hwndCaret;
    public RECT        rcCaret;

}

VB Definition:

<StructLayout(LayoutKind.Sequential)> _
Structure GUITHREADINFO
    Public cbSize As Integer
    Public flags As Integer
    Public hwndActive As IntPtr
    Public hwndFocus As IntPtr
    Public hwndCapture As IntPtr
    Public hwndMenuOwner As IntPtr
    Public hwndMoveSize As IntPtr
    Public hwndCaret As IntPtr
    Public rcCaret As RECT
End Structure

User-Defined Field Types:

None.

Notes:

None.

Documentation