javierbalk
Programmer
Hi all:
I am making an ActiveX control and I need to be notified when a new form is created in the client application. Now I am subclassing the form where my ActiveX control is placed and I found that the WM_WINDOWPOSCHANGING message fires every time a new form appear, and then I look in the Forms collection every time I have this message in order to see if there is a new form, but it seems to be not sure, so I am looking for another message or a way to subclass the entire program and find a message that notify me about a new window. Any ideas?
Thanks in advance,
Javier
I am making an ActiveX control and I need to be notified when a new form is created in the client application. Now I am subclassing the form where my ActiveX control is placed and I found that the WM_WINDOWPOSCHANGING message fires every time a new form appear, and then I look in the Forms collection every time I have this message in order to see if there is a new form, but it seems to be not sure, so I am looking for another message or a way to subclass the entire program and find a message that notify me about a new window. Any ideas?
Thanks in advance,
Javier