How to close the window?
-
I am using Microsoft Visual Studio 6.00. I have created an MDI application. In that I am creating new window. I want functionality as after left clicking of mouse on view that window should be closed. So how can I sort out this problem? Thanks in advance Nikesh
-
I am using Microsoft Visual Studio 6.00. I have created an MDI application. In that I am creating new window. I want functionality as after left clicking of mouse on view that window should be closed. So how can I sort out this problem? Thanks in advance Nikesh
1. Call frame window's DestroyWindow function 2. Send WM_CLOSE message to your frame window handle 3. DestroyWindow with frame window handle 4. PostQuitMessage with exit code. You may need to take care about the data in the child window.
-Sarath. "Great hopes make everything great possible" - Benjamin Franklin
My blog - Sharing My Thoughts