FORWARD_WM_NOTIFY  4BD9_O0 

The FORWARD_WM_NOTIFY macro sends or posts the WM_NOTIFY1MZT7BR message.

VOID FORWARD_WM_NOTIFY(

    hwnd,

 

    idFrom,

 

    pnmhdr,

 

    fn

 

   );

 

 

Parameters

hwnd

Handle to the window that receives the WM_NOTIFY message.

idFrom

Identifier of the control sending the message.

pnmhdr

Pointer to an NMHDR99J.0 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.

fn

Function that sends or posts the WM_NOTIFY1MZT7BR message. This parameter can be either the SendMessage1724MSN or PostMessageFIXDT_ function.

 

Return Values

Returns a value whose meaning depends on the fn parameter.

Remarks

The FORWARD_WM_NOTIFY macro is defined as follows:

#define FORWARD_WM_NOTIFY(hwnd, idFrom, pnmhdr, fn) \

    (void)(fn)((hwnd), WM_NOTIFY, (WPARAM)(int)(id), \

    (LPARAM)(NMHDR FAR*)(pnmhdr))

 

See Also

NMHDR, PostMessage, SendMessage, WM_NOTIFY