How to know the user switch to another MDI child window?
-
I am designing a MDI program. there are many MDI child window. How can I know the user change the activated status from one MDI child window to another? Why do I want to do this? Because when one MDI child window is deactivated, I have to save its data to files. Thanks in advance.
-
I am designing a MDI program. there are many MDI child window. How can I know the user change the activated status from one MDI child window to another? Why do I want to do this? Because when one MDI child window is deactivated, I have to save its data to files. Thanks in advance.
If you are using MFC CViews you will get OnActivateView() and OnKillFocus(). If you are using the Windows API you will get WM_KILLFOCUS. Neville Franks, Author of ED for Windows. www.getsoft.com