Hirmke Michael wrote:
> That was my first idea after the -> way didn't work.
> But with
>      Win32::GUI::Resize( $Window, 100, 100 );
> 
> nothing happend. So I supposed it to be the wrong way, too.
> 
> After your mail I tried it again, but still doesn't work.
> It gives no error either.
> 
> $iWidth = 100;
> $iHeight = 100;
> $hWnd = Win32::GUI::FindWindow( '', "Microsoft Outlook" );
> Win32::GUI::SetForegroundWindow( $hWnd ); # <- works
> Win32::GUI::Resize( $hWnd, $iWidth, $iHeight ); # <- does nothing

works for me with Outlook Express, for example...
maybe Outlook itself doesn't like to be resized from another
application, who knows!
try with different windows (eg. Notepad) and see if it works
for you...

cheers,
Aldo

__END__
# Aldo Calpini
%_ = split undef, join ' ', qw(fahokem 
xritajbugne csuctawer jhdtlrnpqloevkshpr
); print map $_{$_}, sort keys %_;




Reply via email to