I wrote
Pid = GetWindowThreadProcessId(hWndNew, Tid)
should be
Tid = GetWindowThreadProcessId(hWndNew, Pid)
but it doesn't make any difference. It waits on the Tid
as well as the Pid and works well but returns
WAIT_FAILED with either one.
----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----