Removing/disabling close box on CEditView
Posted on 1997-04-04
I am trying to remove the close box (X box in upper right hand corner) on a CEditView window which is an MDI child window. Since I have not been able to figure this out I have also tried handling the WM_CLOSE message for this window, intending on calling ShowWindow(SW_MINIMIZE) from the OnClose handler. Apparently the WM_CLOSE message is being handled by the edit control because it never gets to the window. I have tried PreTranslateMessage and DefWndProc as well.