Skip to main content
gamedev.net
🔒 Locked

MDI Question

Started by daerid Aug 14, 2002 at 3:59 AM 2 replies 250+ views
Original Post
daerid
daerid
How do I notify the main frame of the application when the last mdi child window has been closed?
daerid@gmail.com
Ekas78
Ekas78
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)
______Only dead fish go with the main-stream.
daerid
daerid
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 :\
daerid@gmail.com
daerid
daerid
bizzump?
daerid@gmail.com

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.