Mar 022009

Is there any way to handle child window messages in a parent window? Yes you can use WM_PARENTNOTFIY message or OnParentNotify MFC handler. Note that this message is sent or this function is only called when WS_EX_NOPARENTNOTIFY style is not set. A child controls notifies it’s parent window on…

  • Creation
  • Destruction
  • Mouse button clicks

Please go through following MSDN links for more information…

  2. OnParentNotify
  3. A thread in MSDN forums on this topic

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.