WinEventDelegate (user32)
Last changed: -115.187.98.248

.
Summary

C# Definition:

delegate void WinEventDelegate(IntPtr hWinEventHook, uint eventType,
    IntPtr hwnd, int idObject, int idChild, uint dwEventThread, uint dwmsEventTime);

VB Definition:

Delegate Sub WinEventDelegate( _
        ByVal hWinEventHook As IntPtr, _
        ByVal eventType As UInteger, _
        ByVal hwnd As IntPtr, _
        ByVal idObject As Integer, _
        ByVal idChild As Integer, _
        ByVal dwEventThread As UInteger, _
        ByVal dwmsEventTime As UInteger _
    )

User-Defined Types:

None.

C# Constants:

    public enum ObjIds : int
    {
    OBJID_WINDOW = 0x00000000,
    OBJID_SYSMENU = 0xFFFFFFFF,
    OBJID_TITLEBAR = 0xFFFFFFFE,
    OBJID_MENU = 0xFFFFFFFD,
    OBJID_CLIENT = 0xFFFFFFFC,
    OBJID_VSCROLL = 0xFFFFFFFB,
    OBJID_HSCROLL = 0xFFFFFFFA,
    OBJID_SIZEGRIP = 0xFFFFFFF9,
    OBJID_CARET = 0xFFFFFFF8,
    OBJID_CURSOR = 0xFFFFFFF7,
    OBJID_ALERT = 0xFFFFFFF6,
    OBJID_SOUND = 0xFFFFFFF5,
    OBJID_QUERYCLASSNAMEIDX = 0xFFFFFFF4,
    OBJID_NATIVEOM = 0xFFFFFFF0,
    }

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation