次の方法で共有


WM_NOTIFY (Compact 2013)

3/28/2014

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

See Also

Reference

Common Control Messages
NMHDR