Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This message informs the parent window of a control that an event has occurred in the control or that the control requires some kind of information.

Syntax

WM_NOTIFY 
idCtrl = (int) 
wParam; 

pnmh = (LPNMHDR) 
lParam; 

Parameters

idCtrl

Identifier of the common control sending the message. This identifier is not guaranteed to be unique. An application should use the hwndFromor idFrommember of the NMHDRstructure (passed as the lParamparameter) to identify the control.

pnmh

Pointer to an NMHDRstructure that contains the notification code and additional information. For some messages, this parameter points to a larger structure that has the NMHDRstructure as its first member.

Return Value

The return value depends on the notification code. The return value is ignored for many notification codes.

Requirements

Header winuser.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also