Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.


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 



A handle to a child window.


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

Nonzero if the message was handled; otherwise 0.

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.

Community Additions

© 2015 Microsoft