in reply to Re: find active window
in thread find active window

it returns 0 however... :(

Here's my bit of code :

sub activeWindow
# this method returns the handler of the active window
{
return Win32::GUI::GetActiveWindow();
}

And here's what I get when I print it:
0

What's wrong with that ? (I'm sorry but I've just begun Perl and I'm not familiar with it yet).