CWnd::OnChildNotify

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

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

Параметры

  • 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.

Возвращаемое значение

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

Заметки

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.

Требования

Header: afxwin.h

См. также

Основные понятия

CWnd Class

CWnd Members

Hierarchy Chart