September 4th, 2011, 06:10 AM
MDI Message handling
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,
Tags for this Thread
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!