>The solution was to
>declare the applications window handle as a global variable
>when I active the application.
>
>With
>
>PUBLIC gnwnd
>DECLARE INTEGER GetActiveWindow IN Win32API
>gnwnd = GetActiveWindow()
>
>
>
>Then I just changed the line in is_run32 to:
>from:
>
>lnhwnd = GetActiveWindow()
>
>to:
>lnhwnd = gnwnd
>
>Thanks would have never gotten anywhere without the function!!
Tim,
Actually, you're the second person that's had a problem involving the GetActiveWindow() call. I haven't had a chance to investigate exactly what the problem is, but what you've told me may help. I'm going to see if there's something I can do to fix the problem, and if I find a solution I'll update the file and post here when it's available.
Glad the function was of some help.
George
Ubi caritas et amor, deus ibi est