MDI Question
How do I notify the main frame of the application when the last mdi child window has been closed?
MDI childs don''t really "close". They hide.
What are you trying to do? (I''m not even sure there is a message sent when closing a mdi-child..atleast not to it''s parent)
What are you trying to do? (I''m not even sure there is a message sent when closing a mdi-child..atleast not to it''s parent)
I have a combobox in my menu that represents the current mdi-child''s zoom level
I want to disable it when the last document is closed. I''m using WTL.
The combobox is being created disabled, and when a file is opened or created, I enable it. And, as long as there are documents open, I want to keep it enabled. I want it disabled when there are no active documents :\
I want to disable it when the last document is closed. I''m using WTL.
The combobox is being created disabled, and when a file is opened or created, I enable it. And, as long as there are documents open, I want to keep it enabled. I want it disabled when there are no active documents :\
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement