Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: How to get screen resolution under Win32?

by EvanK (Chaplain)
on Sep 26, 2001 at 10:11 UTC ( #114748=note: print w/replies, xml ) Need Help??


in reply to How to get screen resolution under Win32?

$DesktopWin = $Main->GetDesktopWindow(); (undef,undef,$DesktopWidth,$DesktopHeight) = Win32::GUI::GetWindowRect +($DesktopWin); print "Screen Resolution is $DesktopWidth x $DesktopHeight";
note: this requires use of the win32::gui module

______________________________________________
RIP
Douglas Noel Adams
1952 - 2001

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://114748]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (12)
As of 2016-12-08 15:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (143 votes). Check out past polls.