WM_NOTIFY

A version of this page is also available for

Windows Embedded CE 6.0 R3

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 hwndFrom or idFrom member of the NMHDR structure (passed as the lParam parameter) to identify the control.
  • pnmh
    Pointer to an NMHDR structure that contains the notification code and additional information. For some messages, this parameter points to a larger structure that has the NMHDR structure 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

Reference

Common Control Messages
NMHDR