I have a MFC MDI c++ program,
And I want to know is it possible to decide about close one of tabs (sure to close MsgBox) ? something similar to oncancel function in dialogue base program.
and also is there a event to close the entire program on closing one of tabs?
thanks for your guides
What I have tried:
I tried ondestroy function for first case but it was not successful