Glenn J. Christman wrote:
>Greetings,
>
>This is hopefully a baisc question, I'm new to the Win32::GUI module.
>
>Can someone advise me how I can get basic display information from the
>system, like the screen height & width?   I'm trying to have a window
>pop up in the center of the screen no matter what screen size, so I need
>to query the system to find out where that would be.

$width  = Win32::GUI::GetSystemMetrics(0);
$height = Win32::GUI::GetSystemMetrics(1);

__END__
# Aldo Calpini
%x=split //, "xritajbugne fahokem csuctawer jhdtlrnpqloevkshpr";
print $x{$_} foreach sort keys %x;





Reply via email to