Use AppActivate to set focus to the window, then use sendkeys to send ALT F4, or use the FindWindow() API call to get the window handle, then SendMessage to send a WM_CLOSE message to that window. [sig]<p>nick bulka<br><a href=mailto: > </a><br><a href=
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.