Closing a CFormView
-
Hi !!! In my MDI App, if the user close a child window (derived from CFormView)by clicking on the top right cross button (X), I would like my program to ask him if he is sure or not. How could I do that ? Which message do I have to intercept ??? Thanks for your help !!! Jed
-
Hi !!! In my MDI App, if the user close a child window (derived from CFormView)by clicking on the top right cross button (X), I would like my program to ask him if he is sure or not. How could I do that ? Which message do I have to intercept ??? Thanks for your help !!! Jed
Read the docs on CDocument::CanCloseFrame() That looks like it'll suit your needs. --Mike-- ================== The original message was: Hi !!!
In my MDI App, if the user close a child window (derived from CFormView)by clicking on the top right cross button (X), I would like my program to ask him if he is sure or not.
How could I do that ? Which message do I have to intercept ???
Thanks for your help !!!
Jed