Closing a child window in an MDI in OnInitialUpdate()
How do I close out the child window in OnInitialUpdate()? I tried using GetParent->SendMessage( WM_CLOSE ) and GetParent->SendMessage( WM_DESTROY ),
but they don't work. WM_CLOSE seems to have no affect on it, and WM_DESTROY causes an exception in the MFC framework.
Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.