close all windows, boxes except MDI container

  • Thread starter Thread starter feng
  • Start date Start date
F

feng

I need to close all the open windows, dialoug boxes,
message boxes, etc, except my MDI container window. How do
I do that?

Thanks!
 
Hi Feng,

I assume you mean with windows the forms, but what do you mean with *open*
messageboxes and dialogboxes.

You can in my opinion loop thru the mdichildren in a for each loop and close
them one by one.
\\\
for each frm as form in me.mdichildren - 1
frm.close
next
///

(I never did that as this)

I hope this helps?

Cor
 
Hi Herfried,

I really did not notify it, however you are of course the specialist from
the notify control

:-))

Thanks

Cor
 
Back
Top