Name

Public Const WM_PARENTNOTIFY = &H210

Synopsis

wParam

The low-order word contains the action for which the parent is being notified; it can be one of the following:

WM_CREATE
WM_DESTROY
WM_LBUTTONDOWN
WM_MBUTTONDOWN
WM_RBUTTONDOWN
WM_XBUTTONDOWN

The high-order word contains a value that depends on the low-order word of wParam; it can be one of the following:

WM_CREATE
WM_DESTROY
WM_LBUTTONDOWN
WM_MBUTTONDOWN
WM_RBUTTONDOWN
WM_XBUTTONDOWN
lParam

Value depends on the low-order word of wParam; it can be one of the following:

WM_CREATE
WM_DESTROY
WM_LBUTTONDOWN
WM_MBUTTONDOWN
WM_RBUTTONDOWN
WM_XBUTTONDOWN
Description

Notifies the parent of an action occurring in a child control.

Return Value

0 only if the application processes this message.

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.