Contents Index Topic Contents | ||
Previous Topic: Common Control Messages Next Topic: WM_NOTIFYFORMAT |
WM_NOTIFY
WM_NOTIFY idCtrl = (int) wParam; pnmh = (LPNMHDR) lParam;Sent by a common control to its parent window when an event has occurred in the control or the control requires some kind of information.
- The return value is ignored except for notification messages that specify otherwise.
- 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
- Address of an NMHDR structure that contains the notification code and additional information. For some notification messages, this parameter points to a larger structure that has the NMHDR structure as its first member.
Not all controls will send WM_NOTIFY messages. In particular, the standard Windows controls (edit controls, combo boxes, list boxes, buttons, scroll bars, and static controls) do not send WM_NOTIFY messages. Consult the documentation for the control to determine if it will send any WM_NOTIFY messages and, if it will, which notification codes it will send.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.