in reply to How to get screen resolution under Win32?
note: this requires use of the win32::gui module$DesktopWin = $Main->GetDesktopWindow(); (undef,undef,$DesktopWidth,$DesktopHeight) = Win32::GUI::GetWindowRect +($DesktopWin); print "Screen Resolution is $DesktopWidth x $DesktopHeight";
______________________________________________
RIP
Douglas Noel Adams
1952 - 2001
In Section
Seekers of Perl Wisdom