WM_NOTIFY

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.

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 Values

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

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Winuser.h.

See Also

Common Control Messages | NMHDR

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.