CWnd::ReflectChildNotify

This message function is called by the framework from OnChildNotify.

BOOL ReflectChildNotify( 
   UINT message, 
   WPARAM wParam, 
   LPARAM lParam, 
   LRESULT* pResult  
);

Parameters

  • message
    Specifies the message to be reflected.

  • wParam
    Specifies additional message-dependent information.

  • lParam
    Specifies additional message-dependent information.

  • pResult
    The result generated by the child window to be returned by the parent window. Can be NULL.

Return Value

TRUE if message was reflected; otherwise FALSE.

Remarks

It is a helper function which reflects message to its source.

Reflected messages are sent directly to CWnd::OnWndMsg or CCmdTarget::OnCmdMsg.

For more information about message reflection, see Handling Reflected Messages.

Requirements

Header: afxwin.h

See Also

Reference

CWnd Class

Hierarchy Chart

CWnd::OnChildNotify

CWnd::SendChildNotifyLastMsg

CWnd::OnWndMsg

CCmdTarget::OnCmdMsg

CWnd::ReflectLastMsg