Name

MOUSEHOOKSTRUCT

Synopsis

Contains information used by the WH_MOUSE hook:

Public Type MOUSEHOOKSTRUCT
        pt As POINTAPI
        hwnd As Long
        wHitTestCode As Long
        dwExtraInfo As Long
End Type

Structure Members

pt

The x and y coordinates of the mouse pointer

hwnd

The handle of the window that the mouse pointer was over when the mouse message was fired

wHitTextCode

The hit test code detailing the nonclient area of the window that the mouse cursor is over

dwExtraInfo

Extra information

Get Subclassing and Hooking with Visual Basic now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.