CWnd::OnChildNotify 

virtual BOOL OnChildNotify( UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pLResult );

Return Value

Nonzero if this window is responsible for handling the message sent to its parent; otherwise 0.

Parameters

message

A Windows message number sent to a parent window.

wParam

The wparam associated with the message.

lParam

The lparam associated with the message.

pLResult

A pointer to a value to be returned from the parent’s window procedure. This pointer will be NULL if no return value is expected.

Remarks

This member function is called by this window’s parent window when it receives a notification message that applies to this window.

Never call this member function directly.

The default implementation of this member function returns 0, which means that the parent should handle the message.

Override this member function to extend the manner in which a control responds to notification messages.

CWnd OverviewClass MembersHierarchy Chart