HANDLE_WM_NOTIFY (Compact 2013)

3/28/2014

This macro calls a function that processes the WM_NOTIFY message.

Syntax

HANDLE_WM_NOTIFY( 
    hwnd, 
    wParam, 
    lParam, 
    fn 
); 

Parameters

  • hwnd
    Handle to the window that received WM_NOTIFY.
  • wParam
    First parameter of WM_NOTIFY.
  • lParam
    Second parameter of WM_NOTIFY.
  • fn
    Function that is to process WM_NOTIFY.

Return Value

The meaning of the value depends on the fn parameter.

Remarks

The HANDLE_WM_NOTIFY macro is defined as follows.

#define HANDLE_WM_NOTIFY(hwnd, wParam, lParam, fn) \ 
    (fn)((hwnd), (int)(wParam), (NMHDR FAR*)(lParam)) 

Requirements

Header

commctrl.h

See Also

Reference

Common Control Macros
WM_NOTIFY