Name

Public Const WM_NCHITTEST = &H84

Synopsis

wParam

Unused.

lParam

The low-order word contains the x coordinate of the mouse pointer. The high-order word contains the y coordinate of the mouse pointer.

Description

Sent whenever the mouse pointer is moved or a mouse button is pressed while over a window.

Return Value

Indicates the general location of the mouse pointer while over a window; it can be one of the following, defined in Appendix C:

HTBORDER
HTBOTTOM
HTBOTTOMLEFT
HTBOTTOMRIGHT
HTCATPTION
HTCLIENT
HTCLOSE
HTERROR
HTGROWBOX
HT HELP
HTHSCROLL
HTLEFT
HTMENU
HTMAXBUTTON
HTMINBUTTON
HTNOWHERE
HTREDUCE
HTRIGHT
HTSIZE
HTSYSMENU
NTTTOP
HTTOPLEFT
HTTOPRIGHT
HTTRANSPARENT
HTVSCROLL
HTZOOM

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.