The WM_OTHERWINDOWDESTROYED message is sent to all overlapped and popup windows in the system when a top-level, unowned window is destroyed.
wParam
Specifies the handle of the top-level window being destroyed.
lParam
This parameter is not used.
An application should return zero if it processes this message.
WM_OTHERWINDOWCREATED