Export (0) Print
Expand All
Expand Minimize

CWnd::ReflectLastMsg

This member function is called by the framework to reflect the last message to the child window.

static BOOL PASCAL ReflectLastMsg(
   HWND hWndChild,
   LRESULT* pResult = NULL 
);

Parameters

hWndChild
A handle to a child window.
pResult
The result generated by the child window to be returned by the parent window. Can be NULL.

Return Value

Nonzero if the message was handled; otherwise 0.

Remarks

This member function calls SendChildNotifyLastMsg if the window identified by hWndChild is an OLE control or a window in the permanent map.

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

See Also

CWnd Overview | Class Members | Hierarchy Chart | CWnd::OnChildNotify | CWnd::SendChildNotifyLastMsg | CWnd::ReflectChildNotify | CCmdTarget::OnCmdMsg

Show:
© 2014 Microsoft