Hi there,

My problem is, that i dont know how to handle messages for my MDI childs.

Sending a message to e.g. destroy a specific child window is no problem but is there the possibility to be notified, when a child window is closed?

I wrote a window class by myself and pass it during the creation of the child in the LPARAM of the MDICREATESTRUCT.
Practicaly i want to destroy this class when the user closes the window. So how can i handle the WM_CLOSE / WM_MDIDESTROY (??) Messages?

Hope someone can help me out there i puzzled on this problem for a while now,
Horrido Wh0p.