Get newly created window using Win32 API hooks
Posted
by Nathan W
on Stack Overflow
See other posts from Stack Overflow
or by Nathan W
Published on 2010-05-19T01:33:46Z
Indexed on
2010/05/19
1:40 UTC
Read the original article
Hit count: 250
This may be a long short or not even possible but no harm in asking.
What I am trying to do is monitor an application for any new windows it creates in its MDI control. I have implemented hooking in C# and can capture the MDICREATE window message but because I need to get information about the window after is has been created the MDICREATE message isn't much help because at that stage the window hasn't been created in the other application yet.
Without going into to much detail I just need to be able to see when a new window has been created.
Is this possible?
Thanks
© Stack Overflow or respective owner