forms created...!

  • Thread starter Thread starter Evan Camilleri
  • Start date Start date
E

Evan Camilleri

What is the simplest way to know in a program a list of forms that are being
created?

I need to build some sort of class independent of each program that when
created, this class will monitor each form.

Evan Camilleri
 
Your application creates the forms, so you need to monitor that. There's no
magic "AnyFormCreated" event (though there _may_ be a way to do it with an
IMessageFilter). Why not make a Form Factory class and just use it
everywhere your app needs a Form. It would control all of that logic in a
proper way.

-Chris
 
I was thinking that ... but wanted to see if there was someway to check the
system message loop... or whatever
 
Back
Top