Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: Determine screen resolution (on Windows)

by larryk (Friar)
on Jul 12, 2006 at 16:06 UTC ( #560734=note: print w/replies, xml ) Need Help??

in reply to Determine screen resolution (on Windows)

You should be able to get the size of the desktop window by using the desktop window handle which you can get from Win32::GUI. I'm sure I have done this before (to position a Win32::GUI window in the centre of the screen).

As for the number of monitors... hmm - sounds like you're going to have to do something fancy with Win32::API - good luck :)

perl -le "s,,reverse killer,e,y,rifle,lycra,,print"
  • Comment on Re: Determine screen resolution (on Windows)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://560734]
[perldigious]: Mine too thezip, especially my German Shepherd. He looks like he is about to die of heat exhaustion all summer, so he goes nuts when winter comes and he can play in the snow.
[stevieb]: my main off-road vehicle nowadays is a strengthened mercedes ML320. I'm very hard on it, but I've never had any real issues at all (I love how small and light it is, and it has a very, very good centre of gravity for how I roll)
[perldigious]: "for how I roll"... ahhh, I see what you did there stevieb.

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (13)
As of 2016-12-06 16:54 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (112 votes). Check out past polls.