How to close an application from one of its views?
Hi, I have multiple frames in my application and I wish to get rid of the MainFrame Window's caption/title bar/sysmenu etc. etc. and just have a clean thick frame. It can be achieved by adding code to PreCreateWindow() but this also gets rid of the exit (X) button. So I will have to have a button somewhere in one of my views that would close the application. I tried such a thing in a dialog base application and I was able to close the dialog by calling OnOK(). What function should I call to close an MDI multi-frame application?
Software Development is an art, not a job.